Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitffbea62

Browse files
committed
add customize scrollbars functionality
1 parentb293eac commitffbea62

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/parts/TableContainer.tsx‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,23 @@ const SimpleBarWrapper = styled(SimpleBar)<{
4747
}>`
4848
height: 100%;
4949
border: 4px solid red;
50+
51+
.ant-table-content, .ant-table-body {
52+
overflow: unset !important;
53+
}
5054
5155
${props=>!props.$showVertical&&`
52-
.simplebar-scrollbar[data-direction="vertical"] {
53-
opacity: 0 !important;
54-
pointer-events: none;
56+
.simplebar-track.simplebar-vertical {
57+
visibility: hidden !important;
5558
}
5659
`}
5760
5861
${props=>!props.$showHorizontal&&`
59-
.simplebar-scrollbar[data-direction="horizontal"] {
60-
opacity: 0 !important;
61-
pointer-events: none;
62+
.simplebar-track.simplebar-horizontal {
63+
visibility: hidden !important;
6264
}
6365
`}
66+
6467
`;
6568

6669
interfaceTableContainerProps{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp