Correct margins in mobile menu

This commit is contained in:
Christian Wolf 2022-04-10 16:47:44 +02:00
parent d1086e1ec7
commit 9b8dd1343c

View File

@ -25,15 +25,18 @@
li > a { li > a {
margin: 5px 0; margin: 5px 0;
padding: 10px 5px; padding: 10px;
display: block; display: block;
flex: 0;
} }
.nav { .nav {
padding: 0; padding: 0;
border: none; border: none;
margin-left: 0; margin-left: 0;
}
.mod-menu,
.mod-menu__sub {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -43,10 +46,6 @@
margin-right: 5px; margin-right: 5px;
} }
.mod-menu__sub > li {
margin: 0;
}
li > ul.nav { li > ul.nav {
margin-left: -5px; margin-left: -5px;
margin-right: -5px; margin-right: -5px;