Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(component): confirm modal should not clip content (#8325)

Cats Juicec87a392f2917
diff --git a/packages/frontend/component/src/ui/modal/styles.css.ts b/packages/frontend/component/src/ui/modal/styles.css.ts
index 7af5448555..708e4921c7 100644
--- a/packages/frontend/component/src/ui/modal/styles.css.ts
+++ b/packages/frontend/component/src/ui/modal/styles.css.ts
@@ -196,11 +196,9 @@ export const modalFooter = style({
},
});
export const confirmModalContent = style({
- marginTop: '12px',
- marginBottom: '20px',
height: '100%',
overflowY: 'auto',
- padding: '0 4px',
+ padding: '12px 4px 20px 4px',
});
export const confirmModalContainer = style({
display: 'flex',