fix style

This commit is contained in:
Lingzi
2022-03-04 18:04:03 +08:00
parent f2926288fa
commit c402fedde3
8 changed files with 148 additions and 17 deletions

25
src/styles/compact.less Normal file
View File

@ -0,0 +1,25 @@
.alain-pro__sider-logo h1{
font-size: 15px;
}
.page-header__title{
font-size: 14px;
display: none;
}
.alain-pro__body{
margin: 0 !important;
}
.alain-pro__page-header-content{
margin: 8px 8px 0px !important;
}
.ant-card-body{
padding: 6px !important;
}
.ant-card {
margin-bottom: 8px !important;
}
.ant-table tfoot>tr>td, .ant-table tfoot>tr>th, .ant-table-tbody>tr>td, .ant-table-thead>tr>th{
padding: 6px 4px !important;
}
.alain-pro__page-header-wrapper{
margin: 0 !important
}

2
src/styles/default.less Normal file
View File

@ -0,0 +1,2 @@
@import '../app/layout/pro/styles/theme-default.less';
@import './fix/theme-default.less';

View File

@ -1 +1,2 @@
@import './theme-default.less';

View File

@ -1,3 +1,9 @@
/* You can add global styles to this file, and also import other style files */
@import './fix/index';
@import './fix/index';
.error-color {
color: #ff4d4f;
}
@primary-color: #F5222D;
@font-size-base: 15px;