summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css
diff options
context:
space:
mode:
authorJan Breuer <jan.breuer@jaybee.cz>2021-04-13 16:38:03 +0200
committerJan Breuer <jan.breuer@jaybee.cz>2021-04-13 16:45:10 +0200
commit2b5f78e8936b90029478bff0f70ec8333f352b7a (patch)
treeaca662ddd62cfd6bdb3df092ffa1afdb1246a34b /themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css
parent57839f183b9e019c792c7e185174e4be73890c7b (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.css3
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 {