diff options
author | Jan Breuer <jan.breuer@jaybee.cz> | 2021-04-13 16:38:03 +0200 |
---|---|---|
committer | Jan Breuer <jan.breuer@jaybee.cz> | 2021-04-13 16:45:10 +0200 |
commit | 2b5f78e8936b90029478bff0f70ec8333f352b7a (patch) | |
tree | aca662ddd62cfd6bdb3df092ffa1afdb1246a34b /themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css | |
parent | 57839f183b9e019c792c7e185174e4be73890c7b (diff) |
luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visible
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
Diffstat (limited to 'themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css')
-rw-r--r-- | themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index aa811ef6d3..1a276c4952 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -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 { |