Make navigation scrollable when browser too narrow
This adds scrollbars to the navigation when the browser is too narrow but too wide for the mobile version of the menu. This prevents the navigation from wrapping around and messing up the design.
This commit is contained in:
parent
77f15d3240
commit
d0865e4d6e
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ body {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-subnav li {
|
.header-subnav li {
|
||||||
|
|
Loading…
Reference in a new issue