Browse Source

Merge pull request #2289 from pixelfed/staging

Updated NotificationCard, improve popover image scaling
daniel 5 years ago
parent
commit
76b91039e2

+ 1 - 1
CHANGELOG.md

@@ -51,7 +51,7 @@
 - Updated Profile component, add bookmark loader ([c8d5edc9](https://github.com/pixelfed/pixelfed/commit/c8d5edc9))
 - Updated Profile component, add bookmark loader ([c8d5edc9](https://github.com/pixelfed/pixelfed/commit/c8d5edc9))
 - Updated PostComponent, add recent posts ([b289f2f6](https://github.com/pixelfed/pixelfed/commit/b289f2f6))
 - Updated PostComponent, add recent posts ([b289f2f6](https://github.com/pixelfed/pixelfed/commit/b289f2f6))
 - Updated ApiV1Controller, add status ancestor and descendant context ([a0bde855](https://github.com/pixelfed/pixelfed/commit/a0bde855))
 - Updated ApiV1Controller, add status ancestor and descendant context ([a0bde855](https://github.com/pixelfed/pixelfed/commit/a0bde855))
-
+- Updated NotificationCard, improve popover image scaling ([0153e596](https://github.com/pixelfed/pixelfed/commit/0153e596))
 
 
 ## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)
 ## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)
 ### Added
 ### Added

BIN
public/js/timeline.js


BIN
public/mix-manifest.json


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

@@ -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>