🐛(component): 修复多级菜单下,不同层级增加不同缩进

This commit is contained in:
傅子湘 2022-10-10 17:41:32 +08:00
parent 1b79148f21
commit 9b14cb524c

View File

@ -196,6 +196,12 @@
padding: 5px 23px 5px 23px; padding: 5px 23px 5px 23px;
} }
/* 嵌套垂直导航缩进 */
.layui-nav-child > .layui-nav-item > div > dl.layui-nav-child > li {
box-sizing: border-box;
padding-left: 10px;
}
.layui-nav-tree .layui-nav-item * { .layui-nav-tree .layui-nav-item * {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
} }
@ -399,4 +405,4 @@
} }
} }
/* popup menu 样式结束 */ /* popup menu 样式结束 */