fix(mobile): hide scrollbar (#9144)

fix AF-1934
This commit is contained in:
pengx17
2024-12-16 03:44:16 +00:00
parent a84a40e777
commit 7b173a68d5
2 changed files with 9 additions and 1 deletions

View File

@@ -53,6 +53,11 @@ export const scrollbar = style({
},
},
});
export const mobileScrollbar = style({
display: 'none',
});
export const TableScrollbar = style({
marginTop: '60px',
height: 'calc(100% - 120px)',

View File

@@ -48,7 +48,10 @@ export const ScrollableScrollbar = forwardRef<
orientation="vertical"
{...props}
ref={ref}
className={clsx(className, styles.scrollbar)}
className={clsx(
className,
BUILD_CONFIG.isMobileEdition ? styles.mobileScrollbar : styles.scrollbar
)}
>
<ScrollArea.Thumb className={styles.scrollbarThumb} />
{children}