mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
🐛 修复分享图渲染错误
*PostID:47046009
This commit is contained in:
@@ -141,14 +141,16 @@ function getVodTime(): string {
|
|||||||
left: 0;
|
left: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
aspect-ratio: v-bind(vodAspectRatio);
|
aspect-ratio: v-bind(vodAspectRatio);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tp-vod-cover :nth-child(1) {
|
.tp-vod-cover :first-child {
|
||||||
max-width: 100%;
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tp-vod-cover :nth-child(2) {
|
.tp-vod-cover :nth-child(2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user