summaryrefslogtreecommitdiff
path: root/addons/theme_default/static/src/less/option_layout_boxed.less
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2017-03-27 14:15:39 +0200
committerPierre Masereel <pim@odoo.com>2017-03-27 14:22:00 +0200
commit8fd0f8664be5d5b3c582ae21284ba9f8f6b8a0c8 (patch)
tree2c773fb305d9e903b708d4d658e92aefeaf06ccc /addons/theme_default/static/src/less/option_layout_boxed.less
parent9d04d14669f97da002c04bfdbdde1f5b44b1b6bb (diff)
[FIX] theme_default: full width in mobile
When a theme is customized to be 'boxed', the website is not full width in mobile, and there is an horizontal scrolling. To fix this issue, we removed only set the width of the "wrapwrap" div to 85% when the screen is bigger than a phone.
Diffstat (limited to 'addons/theme_default/static/src/less/option_layout_boxed.less')
-rw-r--r--addons/theme_default/static/src/less/option_layout_boxed.less8
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/theme_default/static/src/less/option_layout_boxed.less b/addons/theme_default/static/src/less/option_layout_boxed.less
index db449d79b4d..4e258175923 100644
--- a/addons/theme_default/static/src/less/option_layout_boxed.less
+++ b/addons/theme_default/static/src/less/option_layout_boxed.less
@@ -1,4 +1,6 @@
#wrapwrap {
- width: 85%;
- margin: 0 auto;
-} \ No newline at end of file
+ @media (min-width: @screen-sm-min){
+ width: 85%;
+ margin: 0 auto;
+ }
+}