修改整体布局,减少无用间隔

This commit is contained in:
whyour
2022-08-28 00:38:25 +08:00
parent f8f63890e5
commit a3f56be299
5 changed files with 28 additions and 10 deletions
+23 -5
View File
@@ -56,7 +56,13 @@
overflow: auto;
height: 100%;
background-color: @component-background;
padding: 16px;
padding: 12px;
}
}
.ql-container-wrapper-has-tab {
.ant-pro-grid-content.wide .ant-pro-page-container-children-content {
padding-top: 0;
}
}
@@ -136,7 +142,7 @@
flex: 1;
.ant-pro-grid-content-children {
height: calc(100% - 36px);
height: 100%;
> div,
.log-container,
@@ -265,15 +271,23 @@
}
.ant-pro-page-container-children-content {
margin: 18px 18px 18px;
margin: 0;
}
.ant-pro-basicLayout-content {
margin: 18px;
margin: 12px;
.ant-pro-page-container {
margin: -18px -18px -18px;
margin: -12px;
}
.ant-pro-page-container-warp .ant-page-header {
border-bottom: 1px solid #eee;
}
}
.ant-pro-global-header {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}
.ant-menu-item.ant-pro-sider-collapsed-button {
@@ -312,6 +326,10 @@
background-color: #373739;
}
.ant-layout-sider {
border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-pro-sider-logo {
padding: 16px 8px !important;