浏览代码

Update NotificationCard, improve popover image scaling

Daniel Supernault 5 年之前
父节点
当前提交
0153e59661
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/assets/js/components/NotificationCard.vue

+ 1 - 1
resources/assets/js/components/NotificationCard.vue

@@ -24,7 +24,7 @@
 								<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>.
 									<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>
 								</span>
 								<span v-else>