fix: incorrect scrollbar position when opening full width layout (#2869)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
JimmFly
2023-06-27 22:15:34 +08:00
committed by GitHub
parent ab703fe3ae
commit c7f25e8fe3
2 changed files with 2 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ export const switchCheckedStyle = style({
selectors: {
'&:before': {
background: 'var(--affine-toggle-circle-background-color)',
transform: 'translate(100%,-50%)',
transform: 'translate(21px,-50%)',
},
},
});