mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 15:26:59 +08:00
fix: remove useless padding css style (#7274)
Fix issue [BS-581](https://linear.app/affine-design/issue/BS-581).Remove the extra 100px padding of embed doc. 
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { globalStyle, style } from '@vanilla-extract/css';
|
import { style } from '@vanilla-extract/css';
|
||||||
export const editor = style({
|
export const editor = style({
|
||||||
flex: 1,
|
flex: 1,
|
||||||
selectors: {
|
selectors: {
|
||||||
@@ -22,9 +22,3 @@ export const editor = style({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
globalStyle(
|
|
||||||
`${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`,
|
|
||||||
{
|
|
||||||
paddingBottom: '100px',
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user