diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-10-22 22:48:49 +0200 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-10-22 22:48:49 +0200 |
| commit | 13c5da63d7432607bda2af1dd2c3d3d0a5874fa6 (patch) | |
| tree | cb59071390bc06e5261ef311ec564369679b34f3 /packages/frontend/src/components/MkNoteSub.vue | |
| parent | fix: not checking for renotes during packing of note (diff) | |
| download | sharkey-13c5da63d7432607bda2af1dd2c3d3d0a5874fa6.tar.gz sharkey-13c5da63d7432607bda2af1dd2c3d3d0a5874fa6.tar.bz2 sharkey-13c5da63d7432607bda2af1dd2c3d3d0a5874fa6.zip | |
fix: MFM overflowing out of note
Closes transfem-org/Sharkey#104
Diffstat (limited to 'packages/frontend/src/components/MkNoteSub.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNoteSub.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index 7cf5d1abfe..fcc4dff98b 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkAvatar :class="$style.avatar" :user="note.user" link preview/> <div :class="$style.body"> <MkNoteHeader :class="$style.header" :note="note" :mini="true"/> - <div> + <div :class="$style.content"> <p v-if="note.cw != null" :class="$style.cw"> <Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :author="note.user" :i="$i"/> <MkCwButton v-model="showContent" :note="note"/> @@ -436,6 +436,10 @@ if (props.detail) { min-width: 0; } +.content { + overflow: hidden; +} + .header { margin-bottom: 2px; } |