luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visible
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz> (cherry picked from commit 2b5f78e8936b90029478bff0f70ec8333f352b7a)
This commit is contained in:
parent
cb5cf7c08f
commit
87daaa24c8
@ -167,7 +167,7 @@ body {
|
||||
|
||||
#mainmenu ul {
|
||||
padding: 0;
|
||||
margin: 0 0 .5em .5em;
|
||||
margin: 0 0 0 .5em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
@ -189,6 +189,7 @@ body {
|
||||
#mainmenu li.active > ul {
|
||||
max-height: 3000px;
|
||||
transition: max-height 1s ease-in-out;
|
||||
margin: 0 0 .5em .5em;
|
||||
}
|
||||
|
||||
#mainmenu .l1 > li > a {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user