diff --git a/src/pages/setting/index.less b/src/pages/setting/index.less index 66a2d0f2..fff7b43f 100644 --- a/src/pages/setting/index.less +++ b/src/pages/setting/index.less @@ -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; + } +} diff --git a/src/pages/setting/index.tsx b/src/pages/setting/index.tsx index 8fd13aec..a5d7d2b7 100644 --- a/src/pages/setting/index.tsx +++ b/src/pages/setting/index.tsx @@ -31,6 +31,7 @@ import CheckUpdate from './checkUpdate'; import About from './about'; import { useOutletContext } from '@umijs/max'; import { SharedContext } from '@/layouts'; +import './index.less' const { Text } = Typography; const optionsWithDisabled = [ @@ -321,7 +322,7 @@ const Setting = () => { return (