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.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/14ef1f94-512f-4376-9498-03e21c8968d0.png)
This commit is contained in:
akumatus
2024-06-19 11:29:28 +00:00
parent f9903fd748
commit 9746ddb5e0

View File

@@ -1,4 +1,4 @@
import { globalStyle, style } from '@vanilla-extract/css';
import { style } from '@vanilla-extract/css';
export const editor = style({
flex: 1,
selectors: {
@@ -22,9 +22,3 @@ export const editor = style({
},
},
});
globalStyle(
`${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`,
{
paddingBottom: '100px',
}
);