mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update NotificationCard, improve popover image scaling
This commit is contained in:
parent
ca1b2ce69a
commit
0153e59661
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
<span v-if="n.status.hasOwnProperty('media_attachments')">
|
<span v-if="n.status.hasOwnProperty('media_attachments')">
|
||||||
<a class="font-weight-bold" v-bind:href="n.status.url" :id="'fvn-' + n.id">post</a>.
|
<a class="font-weight-bold" v-bind:href="n.status.url" :id="'fvn-' + n.id">post</a>.
|
||||||
<b-popover :target="'fvn-' + n.id" title="" triggers="hover" placement="top" boundary="window">
|
<b-popover :target="'fvn-' + n.id" title="" triggers="hover" placement="top" boundary="window">
|
||||||
<img :src="notificationPreview(n)" width="100px" height="100px">
|
<img :src="notificationPreview(n)" width="100px" height="100px" style="object-fit: cover;">
|
||||||
</b-popover>
|
</b-popover>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
|
|
Loading…
Reference in a new issue