fix(component): banner should not affect the editor layout (#6605)
https://github.com/toeverything/AFFiNE/assets/27926/6aacb16c-02ca-4693-afe8-628bef507811
This commit is contained in:
@@ -4,11 +4,13 @@ export const browserWarningStyle = style({
|
|||||||
backgroundColor: cssVar('backgroundWarningColor'),
|
backgroundColor: cssVar('backgroundWarningColor'),
|
||||||
color: cssVar('warningColor'),
|
color: cssVar('warningColor'),
|
||||||
height: '36px',
|
height: '36px',
|
||||||
|
width: '100%',
|
||||||
fontSize: cssVar('fontSm'),
|
fontSize: cssVar('fontSm'),
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
position: 'relative',
|
position: 'absolute',
|
||||||
|
zIndex: 1,
|
||||||
});
|
});
|
||||||
export const closeButtonStyle = style({
|
export const closeButtonStyle = style({
|
||||||
width: '36px',
|
width: '36px',
|
||||||
|
|||||||
Reference in New Issue
Block a user