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`, {
|
globalStyle(
|
||||||
paddingBottom: '150px',
|
`${editor} .affine-doc-viewport:not(.affine-embed-synced-doc-editor)`,
|
||||||
paddingLeft: '20px',
|
{
|
||||||
scrollbarGutter: 'stable',
|
paddingBottom: '150px',
|
||||||
});
|
paddingLeft: '20px',
|
||||||
|
scrollbarGutter: 'stable',
|
||||||
|
}
|
||||||
|
);
|
||||||
globalStyle('.is-public-page page-meta-tags', {
|
globalStyle('.is-public-page page-meta-tags', {
|
||||||
display: 'none',
|
display: 'none',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user