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:
fundon 2024-04-18 13:16:10 +00:00
parent 9cb6dcd93d
commit 5437c6567b
No known key found for this signature in database
GPG Key ID: 398BFA91AC539CF7

View File

@ -4,11 +4,13 @@ export const browserWarningStyle = style({
backgroundColor: cssVar('backgroundWarningColor'),
color: cssVar('warningColor'),
height: '36px',
width: '100%',
fontSize: cssVar('fontSm'),
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
position: 'relative',
position: 'absolute',
zIndex: 1,
});
export const closeButtonStyle = style({
width: '36px',