diff --git a/src/layouts/index.less b/src/layouts/index.less index be177de1..8308f115 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -9,6 +9,11 @@ url('../assets/fonts/SourceCodePro-Regular.ttf') format('truetype'); } +#root { + height: 100vh; + height: calc(100vh - var(--vh-offset, 0px)); +} + .ant-modal-body { max-height: calc(80vh - 110px); max-height: calc(80vh - var(--vh-offset, 110px)); @@ -349,7 +354,3 @@ pre { white-space: break-spaces !important; padding: 0 !important; } - -.virtuallist .ant-table-tbody > tr > td > div { - white-space: unset !important; -} diff --git a/src/pages/crontab/index.tsx b/src/pages/crontab/index.tsx index 27de0450..b896db99 100644 --- a/src/pages/crontab/index.tsx +++ b/src/pages/crontab/index.tsx @@ -921,13 +921,6 @@ const Crontab = () => { setViewConf(view ? view : null); }; - const vComponents = useMemo(() => { - return VList({ - height: tableScrollHeight!, - resetTopWhenDataChange: false, - }); - }, [tableScrollHeight]); - return ( { enterButton allowClear loading={loading} - value={searchValue} - onChange={(e) => setSearchValue(e.target.value)} onSearch={onSearch} />,