fix(core): unexpected text overflow style in dialog (#7345)

close AF-967
before:
<img width="502" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/839096b2-62b1-4ca3-b410-99c478eeac53">

after:
<img width="496" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/9f02c305-e122-4c6c-a3c6-32647fa9e4c5">
This commit is contained in:
JimmFly
2024-06-26 13:21:27 +00:00
parent 3bb8253e13
commit 6b47c6beda

View File

@@ -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',