mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 13:01:59 +03:00
fix(core): sidebar scrollbar is coverd by resize handle (#8307)
close AF-1236
This commit is contained in:
parent
5842bfc96a
commit
0450fcea8b
@ -50,7 +50,7 @@ export const resizeHandleContainer = style({
|
||||
right: resizeHandleOffsetVar,
|
||||
top: resizeHandleVerticalPadding,
|
||||
bottom: resizeHandleVerticalPadding,
|
||||
width: 16,
|
||||
width: 8,
|
||||
zIndex: '1',
|
||||
transform: 'translateX(50%)',
|
||||
backgroundColor: 'transparent',
|
||||
|
@ -94,7 +94,7 @@ export function AppSidebar({ children }: PropsWithChildren) {
|
||||
onResizing={setResizing}
|
||||
onWidthChange={setWidth}
|
||||
className={navWrapperStyle}
|
||||
resizeHandleOffset={clientBorder ? 8 : 0}
|
||||
resizeHandleOffset={0}
|
||||
resizeHandleVerticalPadding={clientBorder ? 16 : 0}
|
||||
data-transparent
|
||||
data-open={open}
|
||||
|
@ -149,7 +149,7 @@ const WorkbenchSidebar = () => {
|
||||
<ResizePanel
|
||||
floating={floating}
|
||||
resizeHandlePos="left"
|
||||
resizeHandleOffset={clientBorder ? 3.5 : 0}
|
||||
resizeHandleOffset={0}
|
||||
width={width}
|
||||
resizing={resizing}
|
||||
onResizing={setResizing}
|
||||
|
Loading…
Reference in New Issue
Block a user