fix(core): sidebar scrollbar is coverd by resize handle (#8307)

close AF-1236
This commit is contained in:
CatsJuice 2024-09-19 06:25:07 +00:00
parent 5842bfc96a
commit 0450fcea8b
No known key found for this signature in database
GPG Key ID: 1C1E76924FAFDDE4
3 changed files with 3 additions and 3 deletions

View File

@ -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',

View File

@ -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}

View File

@ -149,7 +149,7 @@ const WorkbenchSidebar = () => {
<ResizePanel
floating={floating}
resizeHandlePos="left"
resizeHandleOffset={clientBorder ? 3.5 : 0}
resizeHandleOffset={0}
width={width}
resizing={resizing}
onResizing={setResizing}