fix: MFM overflowing out of note

Closes transfem-org/Sharkey#104
This commit is contained in:
Mar0xy 2023-10-22 22:48:49 +02:00
parent 6d290225ef
commit 13c5da63d7
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
5 changed files with 14 additions and 1 deletions

View file

@ -760,6 +760,7 @@ if (appearNote.reply && appearNote.reply.replyId && defaultStore.state.autoloadC
.note {
padding: 32px;
font-size: 1.2em;
overflow: hidden;
&:hover > .main > .footer > .button {
opacity: 1;
@ -771,6 +772,7 @@ if (appearNote.reply && appearNote.reply.replyId && defaultStore.state.autoloadC
position: relative;
margin-bottom: 16px;
align-items: center;
z-index: 2;
}
.noteHeaderAvatar {
@ -817,6 +819,7 @@ if (appearNote.reply && appearNote.reply.replyId && defaultStore.state.autoloadC
.noteContent {
container-type: inline-size;
overflow-wrap: break-word;
z-index: 1;
}
.cw {