Merge pull request 'Fix media not displaying when no body text' (#10121) from Freeplay/calckey:notes into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10121
This commit is contained in:
commit
20438b9b16
1 changed files with 3 additions and 1 deletions
|
@ -188,7 +188,7 @@ const mfms = props.note.text
|
||||||
? extractMfmWithAnimation(mfm.parse(props.note.text))
|
? extractMfmWithAnimation(mfm.parse(props.note.text))
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
const hasMfm = $ref(mfms.length > 0);
|
const hasMfm = $ref(mfms && mfms.length > 0);
|
||||||
|
|
||||||
let disableMfm = $ref(hasMfm && defaultStore.state.animatedMfm);
|
let disableMfm = $ref(hasMfm && defaultStore.state.animatedMfm);
|
||||||
|
|
||||||
|
@ -340,6 +340,8 @@ function focusFooter(ev) {
|
||||||
}
|
}
|
||||||
> :deep(button) {
|
> :deep(button) {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: .4rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue