优化样式

pull/31/head
smallbun 2023-08-19 13:30:07 +08:00
parent f9f894a013
commit 35d9df8b0d
2 changed files with 6 additions and 1 deletions

View File

@ -85,7 +85,7 @@ export default () => {
const items: MenuProps['items'] = [ const items: MenuProps['items'] = [
{ {
key: ConfigTabs.basic, key: ConfigTabs.basic,
label: intl.formatMessage({ id: 'pages.app.config.basic.' }), label: intl.formatMessage({ id: 'pages.app.config.basic' }),
icon: React.createElement(() => { icon: React.createElement(() => {
return <ProfileOutlined />; return <ProfileOutlined />;
}), }),

View File

@ -24,6 +24,11 @@ const useStyle = createStyles(({ prefixCls, token }, props) => {
main: { main: {
height: 'calc(100vh - 178px)', height: 'calc(100vh - 178px)',
[`.${prefix}-descriptions`]: { [`.${prefix}-descriptions`]: {
[`${antCls}-descriptions-item-container ${antCls}-space-item`]: {
span: {
padding: '0 !important',
},
},
[`${antCls}-descriptions-small ${antCls}-descriptions-row > th, ${antCls}-descriptions-small ${antCls}-descriptions-row > td`]: [`${antCls}-descriptions-small ${antCls}-descriptions-row > th, ${antCls}-descriptions-small ${antCls}-descriptions-row > td`]:
{ {
paddingBottom: '16px', paddingBottom: '16px',