diff --git a/src/components/card.vue b/src/components/card.vue index b099877..5023b05 100644 --- a/src/components/card.vue +++ b/src/components/card.vue @@ -29,6 +29,7 @@ export default { background: url("@/assets/images/titleImg.png") no-repeat; background-size: 100% 100%; display: flex; + align-items: center; div { font-size: calc(100vw * 18 / 1920); color: #ffffff; @@ -41,11 +42,12 @@ export default { } } .titltText { - margin: 1% 0 0 2%; + margin: 0% 0 1% 2%; + // margin-left: 2%; } } .content { - margin-top: 2%; + margin-top: 3%; height: 88%; background: url("@/assets/images/cardImg.png") no-repeat; background-size: 100% 100%;