Skip to content

Commit cbdc580

Browse files
fix: UI issue on horizonal scrollable table
1 parent eb24329 commit cbdc580

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ const TableWrapper = styled.div<{
169169
border-top: none !important;
170170
border-inline-start: none !important;
171171
172+
&::after {
173+
box-shadow: none !important;
174+
}
175+
172176
.ant-table-content {
173177
overflow: unset !important;
174178
}

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,12 @@ const getStyle = (
5454
return css`
5555
background-color: ${style.toolbarBackground};
5656
// Implement horizontal scrollbar and vertical page number selection is not blocked
57-
// padding: ${position === "above" ? "13px 16px 313px 16px" : "313px 16px 13px 16px"};
58-
// margin: ${position === "above" ? "0 0 -300px 0" : "-300px 0 0 0"};
5957
padding: 13px 12px;
60-
${fixedToolbar && `
61-
position: sticky;
62-
postion: -webkit-sticky;
63-
z-index: 99;
64-
`};
58+
position: sticky;
59+
postion: -webkit-sticky;
60+
left: 0;
61+
62+
${fixedToolbar && `z-index: 99;`};
6563
${fixedToolbar && position === 'below' && `bottom: 0;`};
6664
${fixedToolbar && position === 'above' && `top: 0;` };
6765

0 commit comments

Comments
 (0)