Skip to content

Commit 0069cbc

Browse files
Merge pull request #1076 from MenamAfzal/fix/table
table expansion issue resolved
2 parents a4bf6a9 + acb1cb1 commit 0069cbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/tableCompView.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ const TableWrapper = styled.div<{
207207
}
208208
209209
.ant-table-content {
210-
overflow: unset !important;
210+
overflow-y:scroll;
211+
overflow-x:scroll;
211212
}
212213
213214
// A table expand row contains table
@@ -359,7 +360,7 @@ const TableTd = styled.td<{
359360
color: ${(props) => props.$style.text};
360361
font-weight: ${(props) => props.$style.textWeight};
361362
font-family: ${(props) => props.$style.fontFamily};
362-
363+
overflow: hidden;
363364
${(props) => props.$tableSize === 'small' && `
364365
padding: 1px 8px;
365366
font-size: ${props.$defaultThemeDetail.textSize == props.$style.textSize ? '14px !important' : props.$style.textSize + ' !important'};

0 commit comments

Comments
 (0)