diff --git a/packages/client/src/components/MkSubNoteContent.vue b/packages/client/src/components/MkSubNoteContent.vue index 87a30c247..915e5a015 100644 --- a/packages/client/src/components/MkSubNoteContent.vue +++ b/packages/client/src/components/MkSubNoteContent.vue @@ -188,7 +188,7 @@ const mfms = props.note.text ? extractMfmWithAnimation(mfm.parse(props.note.text)) : null; -const hasMfm = $ref(mfms.length > 0); +const hasMfm = $ref(mfms && mfms.length > 0); let disableMfm = $ref(hasMfm && defaultStore.state.animatedMfm); @@ -340,6 +340,8 @@ function focusFooter(ev) { } > :deep(button) { margin-top: 10px; + margin-left: 0; + margin-right: .4rem; } }