mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
fix(core): right sidebar's content is not centered when clientBorder enabled (#7034)
- before


- after

This commit is contained in:
@@ -6,7 +6,6 @@ export const root = style({
|
||||
flex: 1,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
minWidth: '320px',
|
||||
overflow: 'hidden',
|
||||
alignItems: 'center',
|
||||
borderTop: `1px solid ${cssVar('borderColor')}`,
|
||||
|
||||
@@ -36,14 +36,5 @@ export const sidebarContainer = style({
|
||||
export const sidebarBodyTarget = style({
|
||||
flex: 1,
|
||||
width: '100%',
|
||||
minWidth: '320px',
|
||||
overflow: 'hidden',
|
||||
selectors: {
|
||||
[`&[data-client-border=true]`]: {
|
||||
paddingLeft: 9,
|
||||
},
|
||||
[`&[data-client-border=false]`]: {
|
||||
borderLeft: `1px solid ${cssVar('borderColor')}`,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user