Commit ce3c9776 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix mobile navbar

parent 88541875
...@@ -139,6 +139,8 @@ ...@@ -139,6 +139,8 @@
} }
.nav { .nav {
flex-wrap: nowrap;
> li:not(.d-none) a { > li:not(.d-none) a {
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
margin-left: 0; margin-left: 0;
...@@ -158,11 +160,12 @@ ...@@ -158,11 +160,12 @@
} }
.navbar-toggler { .navbar-toggler {
position: relative;
right: -10px; right: -10px;
border-radius: 0; border-radius: 0;
min-width: 45px; min-width: 45px;
padding: 0; padding: 0;
margin-right: -7px; margin: $gl-padding-8 -7px $gl-padding-8 0;
font-size: 14px; font-size: 14px;
text-align: center; text-align: center;
color: currentColor; color: currentColor;
...@@ -186,6 +189,7 @@ ...@@ -186,6 +189,7 @@
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
padding-right: 10px; padding-right: 10px;
flex-direction: row;
} }
li { li {
...@@ -290,6 +294,10 @@ ...@@ -290,6 +294,10 @@
margin: 8px; margin: 8px;
} }
} }
.dropdown-menu {
position: absolute;
}
} }
.navbar-sub-nav { .navbar-sub-nav {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment