修改系统设置样式

This commit is contained in:
whyour 2022-11-11 14:55:09 +08:00
parent 40bc25ed5f
commit f113eb7ba8
2 changed files with 10 additions and 1 deletions

View File

@ -27,3 +27,11 @@
} }
} }
} }
.ql-setting-container {
.ant-tabs-content-holder {
max-height: calc(100vh - 114px);
max-height: calc(100vh - var(--vh-offset, 114px));
overflow-y: auto;
}
}

View File

@ -31,6 +31,7 @@ import CheckUpdate from './checkUpdate';
import About from './about'; import About from './about';
import { useOutletContext } from '@umijs/max'; import { useOutletContext } from '@umijs/max';
import { SharedContext } from '@/layouts'; import { SharedContext } from '@/layouts';
import './index.less'
const { Text } = Typography; const { Text } = Typography;
const optionsWithDisabled = [ const optionsWithDisabled = [
@ -321,7 +322,7 @@ const Setting = () => {
return ( return (
<PageContainer <PageContainer
className="ql-container-wrapper ql-container-wrapper-has-tab" className="ql-container-wrapper ql-container-wrapper-has-tab ql-setting-container"
title="系统设置" title="系统设置"
header={{ header={{
style: headerStyle, style: headerStyle,