mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
@@ -53,6 +53,11 @@ export const scrollbar = style({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const mobileScrollbar = style({
|
||||||
|
display: 'none',
|
||||||
|
});
|
||||||
|
|
||||||
export const TableScrollbar = style({
|
export const TableScrollbar = style({
|
||||||
marginTop: '60px',
|
marginTop: '60px',
|
||||||
height: 'calc(100% - 120px)',
|
height: 'calc(100% - 120px)',
|
||||||
|
|||||||
@@ -48,7 +48,10 @@ export const ScrollableScrollbar = forwardRef<
|
|||||||
orientation="vertical"
|
orientation="vertical"
|
||||||
{...props}
|
{...props}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={clsx(className, styles.scrollbar)}
|
className={clsx(
|
||||||
|
className,
|
||||||
|
BUILD_CONFIG.isMobileEdition ? styles.mobileScrollbar : styles.scrollbar
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
<ScrollArea.Thumb className={styles.scrollbarThumb} />
|
<ScrollArea.Thumb className={styles.scrollbarThumb} />
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Reference in New Issue
Block a user