Commit 20ed4e08 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_js_style: improve default CSS

Prevent img to increase the page width.
parent 60256e20
...@@ -51,6 +51,10 @@ body main fieldset > div > label { ...@@ -51,6 +51,10 @@ body main fieldset > div > label {
font-weight: bold; font-weight: bold;
min-width: 10%; min-width: 10%;
} }
body main img,
body main video {
max-width: 100%;
}
body > aside#document_list { body > aside#document_list {
grid-area: sidebar; grid-area: sidebar;
background-color: #DDD; background-color: #DDD;
......
...@@ -65,6 +65,9 @@ body { ...@@ -65,6 +65,9 @@ body {
} }
} }
} }
img, video {
max-width: 100%;
}
} }
> aside#document_list { > aside#document_list {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment