🐛(component): 按需加载下 dropdown 样式污染
This commit is contained in:
parent
ed0b508a0f
commit
fe3061ec96
@ -32,8 +32,8 @@
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.layui-menu li,
|
||||
.layui-menu-body-title a {
|
||||
.layui-dropdown .layui-menu li,
|
||||
.layui-dropdown .layui-menu-body-title a {
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
|
@ -308,6 +308,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import "@layui/layui-vue/es/menu/index.css";
|
||||
.layui-layout-document > .layui-header {
|
||||
z-index: 99;
|
||||
width: 100%;
|
||||
@ -375,6 +376,11 @@ export default {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.layui-menu-docs .layui-menu li,
|
||||
.layui-menu-docs .layui-menu-body-title a {
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.layui-side hr {
|
||||
margin: 8px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user