diff --git a/src/components/post/tp-vod.vue b/src/components/post/tp-vod.vue index 1c625105..0ff9c09c 100644 --- a/src/components/post/tp-vod.vue +++ b/src/components/post/tp-vod.vue @@ -141,14 +141,16 @@ function getVodTime(): string { left: 0; display: flex; overflow: hidden; + width: 100%; align-items: center; justify-content: center; border-radius: 10px; aspect-ratio: v-bind(vodAspectRatio); } -.tp-vod-cover :nth-child(1) { - max-width: 100%; +.tp-vod-cover :first-child { + width: 100%; + object-fit: cover; } .tp-vod-cover :nth-child(2) {