Skip to content

Commit

Permalink
Menu: Added minimum widths for the mobile panel (fixes #4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjackson28 committed Dec 18, 2013
1 parent 00f0923 commit 4d889cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/base/wet-boew.scss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
/* Extra-small view and over */ /* Extra-small view and over */
@media screen and (min-width: $xSmallViewMin) { @media screen and (min-width: $xSmallViewMin) {
@import "views/xSmallViewOver"; @import "views/xSmallViewOver";
@import "../plugins/menu/menu-xSmallViewOver";
} }


/* Small view and over */ /* Small view and over */
Expand All @@ -129,6 +130,7 @@
/* Extra-extra-small view */ /* Extra-extra-small view */
@media screen and (max-width: $xxSmallViewMax) { @media screen and (max-width: $xxSmallViewMax) {
@import "views/xxSmallView"; @import "views/xxSmallView";
@import "../plugins/menu/menu-xxSmallView";
} }


/* Extra-small view */ /* Extra-small view */
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/menu/menu-xSmallViewOver.scss
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
*/
#mb-pnl {
min-width: 300px;
}
7 changes: 7 additions & 0 deletions src/plugins/menu/menu-xxSmallView.scss
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
*/
#mb-pnl {
min-width: 65%;
}

0 comments on commit 4d889cd

Please sign in to comment.