Browse Source

[bug] fix poster

jihuaqiang 2 years ago
parent
commit
2b937fb39f
1 changed files with 2 additions and 1 deletions
  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%;