fix: style overflow due to user content (#355)

This commit is contained in:
Ayaka Rizumu 2022-12-07 00:37:58 +08:00 committed by GitHub
parent 3b6b83ae7a
commit 7a07d21b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 50 additions and 26 deletions

View file

@ -56,7 +56,7 @@ body {
--at-apply: 'hidden';
}
.ellipsis {
--at-apply: 'truncate overflow-hidden ws-nowrap';
--at-apply: 'line-clamp-1 ws-pre-wrap break-all';
&::after {
content: '…';
}
@ -86,6 +86,7 @@ body {
.content-editor {
--at-apply: outline-none flex-1;
max-width: 100%;
}
.content-editor.content-rich {