mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
@@ -53,6 +53,11 @@ export const scrollbar = style({
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const mobileScrollbar = style({
|
||||
display: 'none',
|
||||
});
|
||||
|
||||
export const TableScrollbar = style({
|
||||
marginTop: '60px',
|
||||
height: 'calc(100% - 120px)',
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user