Fix position of options in mobile nav-menu (#3748)

pull/3753/head
Jack P 2017-08-08 19:36:10 +01:00 zatwierdzone przez Thibaud Colas
rodzic 3163f77d2a
commit 5cdf93e9ce
1 zmienionych plików z 4 dodań i 6 usunięć

Wyświetl plik

@ -32,11 +32,6 @@ $footer-submenu: $submenu-color;
}
.nav-main {
top: 43px;
bottom: 0;
overflow: auto;
width: 100%;
ul,
li {
margin: 0;
@ -157,7 +152,7 @@ $footer-submenu: $submenu-color;
.nav-search {
position: relative;
padding: 0;
margin: 0 1em;
margin: 0 1em 1em;
label {
@include visuallyhidden();
@ -270,7 +265,10 @@ body.explorer-open {
.nav-main {
position: absolute;
top: 175px; // WARNING - magic number - the height of the logo plus search box
bottom: 0;
margin-bottom: 127px; // WARNING - magic number - the height of the .footer
width: 100%;
overflow: auto;
.footer {
position: fixed;