mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: css style should not apply on nested editor's viewport (#5859)
This commit is contained in:
@@ -14,11 +14,14 @@ export const editor = style({
|
||||
},
|
||||
},
|
||||
});
|
||||
globalStyle(`${editor} .affine-doc-viewport`, {
|
||||
paddingBottom: '150px',
|
||||
paddingLeft: '20px',
|
||||
scrollbarGutter: 'stable',
|
||||
});
|
||||
globalStyle(
|
||||
`${editor} .affine-doc-viewport:not(.affine-embed-synced-doc-editor)`,
|
||||
{
|
||||
paddingBottom: '150px',
|
||||
paddingLeft: '20px',
|
||||
scrollbarGutter: 'stable',
|
||||
}
|
||||
);
|
||||
globalStyle('.is-public-page page-meta-tags', {
|
||||
display: 'none',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user