Skip to content

Commit

Permalink
refactor: 调整SubscribeShareCard.vue中的卡片布局,将修复了文本溢出的问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Oct 23, 2024
1 parent fc6f41a commit 1cb78b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/cards/SubscribeShareCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ async function forkSubscribe() {
</template>
</VImg>
</div>
<div class="flex flex-col justify-center pl-2 xl:pl-4 line-clamp-2 overflow-hidden text-ellipsis ...">
<div class="mr-2 min-w-0 text-lg font-bold text-white">
<div class="flex flex-col justify-center pl-2 xl:pl-4">
<div class="mr-2 min-w-0 text-lg font-bold text-white line-clamp-2 overflow-hidden text-ellipsis ...">
{{ props.media?.share_title }}
</div>
<div class="text-sm font-medium text-gray-200 sm:pt-1 line-clamp-3 overflow-hidden text-ellipsis ...">
Expand Down

0 comments on commit 1cb78b4

Please sign in to comment.