layout 组件 side 因 flex 布局宽度不固定

This commit is contained in:
就眠儀式
2022-01-19 00:04:21 +08:00
parent 0c8be1c170
commit 6fcdc74a0e
2 changed files with 2 additions and 3 deletions

View File

@@ -1,9 +1,7 @@
.layui-layout {
display: flex;
flex: 1;
display: flex;
flex-basis: auto;
height: 100%;
width: 100%;
box-sizing: border-box;
}