fix(task): fix height

This commit is contained in:
zhangheng
2026-04-10 09:54:40 +08:00
parent d6183a0036
commit f2cd168b1c
3 changed files with 6 additions and 0 deletions

View File

@@ -405,6 +405,7 @@ export default function OwnTaskTableContainer(props: {
/> />
<SettingDataTable<Task.DataProps> <SettingDataTable<Task.DataProps>
width="100%" width="100%"
minHeight={0}
style={{ width: "100%", flex: 1 }} style={{ width: "100%", flex: 1 }}
pinFirstColumn pinFirstColumn
pinLastColumn pinLastColumn

View File

@@ -1014,6 +1014,7 @@ export default function TaskTableContainer(props: {
/> />
<SettingDataTable<Task.DataProps> <SettingDataTable<Task.DataProps>
width="100%" width="100%"
minHeight={0}
style={{ width: "100%", flex: 1 }} style={{ width: "100%", flex: 1 }}
pinFirstColumn pinFirstColumn
pinLastColumn pinLastColumn

View File

@@ -195,11 +195,14 @@ const settingDataTableStyles = {
}, },
root: { root: {
height: "100%", height: "100%",
maxWidth: "100%",
minWidth: 0,
fontSize: "14px", fontSize: "14px",
color: "#31373D", color: "#31373D",
borderBottom: "1px solid #E8EDF3", borderBottom: "1px solid #E8EDF3",
borderRadius: 10, borderRadius: 10,
overflow: "hidden", overflow: "hidden",
boxSizing: "border-box",
backgroundColor: "#FFFFFF", backgroundColor: "#FFFFFF",
}, },
pagination: { pagination: {
@@ -307,6 +310,7 @@ export const settingTabsStyles = {
panel: { panel: {
flex: 1, flex: 1,
minHeight: 0, minHeight: 0,
minWidth: 0,
paddingTop: 16, paddingTop: 16,
}, },
} as const } as const