fix 侧栏左侧不生效

This commit is contained in:
liuzhihang 2022-12-04 13:01:39 +08:00
parent 0967717892
commit 259b5bcd11
1 changed files with 21 additions and 0 deletions

View File

@ -8096,6 +8096,27 @@ span.fund_name {
width: calc(100% - 300px); width: calc(100% - 300px);
} }
/* 当隐藏边栏时,显示 100% */
.layout.hide-aside > div:first-child {
width: 100%;
}
/* 侧边栏在左侧时,显示 100% */
.layout.left-aside > div:first-child {
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
-o-box-ordinal-group: 2;
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
}
/* 侧栏在左侧时,关闭左边距,打开右边距 */
.layout.left-aside .aside-content {
padding-right: 15px;
padding-left: 0px !important;
}
/* 主页分类 */ /* 主页分类 */
div#categoryList { div#categoryList {
display: flex; display: flex;