Skip to content

Commit

Permalink
[FIX] theme_default: full width in mobile
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pimodoo committed Mar 27, 2017
1 parent 9d04d14 commit 8fd0f86
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions addons/theme_default/static/src/less/option_layout_boxed.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#wrapwrap {
width: 85%;
margin: 0 auto;
}
@media (min-width: @screen-sm-min){
width: 85%;
margin: 0 auto;
}
}

0 comments on commit 8fd0f86

Please sign in to comment.