Explorar o código

fix: 修改文章描述样式

IlhamTahir hai 1 ano
pai
achega
e286106b11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/pet-manual/components/CardList.vue

+ 1 - 1
src/pages/pet-manual/components/CardList.vue

@@ -46,7 +46,7 @@ function handleLoadMore() {
         <view class="text-[14px]">
           {{ item.title }}
         </view>
-        <view class="mt-2 flex-1 text-[11px] text-[#999] whitespace-pre-line">
+        <view class="mt-2 flex-1 text-[11px] leading-3 text-[#999] whitespace-pre-line line-clamp-3 w-full overflow-hidden">
           {{ item.description }}
         </view>
         <view class="mt-3 text-[10px] text-[#D8D8D8]">