Merge pull request #4985 from j123b567/feature_luci-theme-openwrt-2020_mainmenu-submenu-tweek
luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visible
This commit is contained in:
commit
064e5cca96
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,7 @@ body {
|
||||||
|
|
||||||
#mainmenu ul {
|
#mainmenu ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0 0 .5em .5em;
|
margin: 0 0 0 .5em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -189,6 +189,7 @@ body {
|
||||||
#mainmenu li.active > ul {
|
#mainmenu li.active > ul {
|
||||||
max-height: 3000px;
|
max-height: 3000px;
|
||||||
transition: max-height 1s ease-in-out;
|
transition: max-height 1s ease-in-out;
|
||||||
|
margin: 0 0 .5em .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mainmenu .l1 > li > a {
|
#mainmenu .l1 > li > a {
|
||||||
|
|
Loading…
Reference in a new issue