浏览代码

[bug] fix poster

jihuaqiang 2 年之前
父节点
当前提交
2b937fb39f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/view/components/custom-card-cover.vue

+ 2 - 1
src/view/components/custom-card-cover.vue

@@ -325,13 +325,14 @@ onMounted(() => {
 .custom-card {
     position: relative;
     width: 100%;
+    height: 100%;
     overflow: hidden;
     background:#111214;
     position: relative;
     border-radius: 10px;
     .customImg {
         width: 100%;
-        min-height: 200px;
+        min-height: calc(100% - 125px);
     }
     .cover {
         width: 100%;