fix(core): wrong padding position when ai panel is active (#7648)

This commit is contained in:
liuyi
2024-07-30 13:47:17 +08:00
committed by GitHub
parent 63e8729da4
commit dd47c14c65

View File

@@ -10,6 +10,10 @@ export const affineDocViewport = style({
display: 'flex',
flexDirection: 'column',
paddingBottom: '100px',
});
export const docContainer = style({
display: 'block',
selectors: ['generating', 'finished', 'error'].reduce<
NonNullable<StyleRule['selectors']>
>((rules, state) => {
@@ -20,10 +24,6 @@ export const affineDocViewport = style({
}, {}),
});
export const docContainer = style({
display: 'block',
});
export const docEditorGap = style({
display: 'block',
width: '100%',