diff --git a/src/components/app/t-postcard.vue b/src/components/app/t-postcard.vue index 4c2f7fed..e3badf7c 100644 --- a/src/components/app/t-postcard.vue +++ b/src/components/app/t-postcard.vue @@ -341,14 +341,18 @@ function onUserClick(): void { aspect-ratio: 69 / 32; background: var(--common-shadow-2); cursor: pointer; -} -.tpc-cover img { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center; - transition: all 0.3s linear; + img { + width: 100%; + height: 100%; + object-fit: cover; + object-position: center; + transition: all 0.3s linear; + + &:hover { + transform: scale(1.2); + } + } } .tpc-mid { @@ -422,12 +426,7 @@ function onUserClick(): void { img { width: 20px; height: 20px; - margin-right: 5px; - - &:hover { - transform: scale(1.1); - transition: all 0.3s linear; - } + margin-right: 4px; } } diff --git a/src/components/func/loading.vue b/src/components/func/loading.vue index 488467a8..378a5ff7 100644 --- a/src/components/func/loading.vue +++ b/src/components/func/loading.vue @@ -72,7 +72,7 @@ async function displayBox(params: LoadingParams): Promise { defineExpose({ displayBox }); -