mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +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,
|
flex: 1,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minWidth: '320px',
|
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
borderTop: `1px solid ${cssVar('borderColor')}`,
|
borderTop: `1px solid ${cssVar('borderColor')}`,
|
||||||
|
|||||||
@@ -36,14 +36,5 @@ export const sidebarContainer = style({
|
|||||||
export const sidebarBodyTarget = style({
|
export const sidebarBodyTarget = style({
|
||||||
flex: 1,
|
flex: 1,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
minWidth: '320px',
|
|
||||||
overflow: 'hidden',
|
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