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(core): unexpected text overflow style in dialog (#7345)

JimmFly6b47c6beda1d
diff --git a/packages/frontend/component/src/ui/modal/styles.css.ts b/packages/frontend/component/src/ui/modal/styles.css.ts
index 64b0d7f860..99808bcd07 100644
--- a/packages/frontend/component/src/ui/modal/styles.css.ts
+++ b/packages/frontend/component/src/ui/modal/styles.css.ts
@@ -53,7 +53,9 @@ export const modalHeader = style({
marginBottom: '12px',
});
export const modalDescription = style({
- // marginBottom: '20px',
+ wordBreak: 'break-word',
+ whiteSpace: 'pre-wrap',
+ overflowWrap: 'break-word',
});
export const modalFooter = style({
display: 'flex',