mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
image max width
This commit is contained in:
parent
cdf4eafd35
commit
78ea2b926e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
<div v-if="!message.isDeleted" class="content">
|
||||
<Mfm v-if="message.text" ref="text" class="text" :text="message.text" :i="$i"/>
|
||||
<div v-if="message.file" class="file">
|
||||
<img v-if="message.file.type.split('/')[0] == 'image'" :src="message.file.url" :alt="message.file.name"/>
|
||||
<img v-if="message.file.type.split('/')[0] == 'image'" :src="message.file.url" :alt="message.file.name" max-width="400px" style="border-radius: 5px"/>
|
||||
<VuePlyr v-else-if="message.file.type.split('/')[0] == 'video'">
|
||||
<video
|
||||
:alt="message.file.name"
|
||||
|
|
Loading…
Reference in a new issue