refactor: replace custom ellipsis classes with native utilities
delete unused ellipsis.scss partial and its import, update all components to use truncate and line-clamp-2 utilities
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
<image class="card-img flex-shrink-0 rounded-[14px]" :src="createSvgIndex(index)" />
|
||||
|
||||
<view class="min-width-0 flex flex-col flex-full pl-[8px] py-[4px]">
|
||||
<view class="w-full text-[12px] font-[600] text-[#171717] ellipsis-1">
|
||||
<view class="w-full text-[12px] font-[600] text-[#171717] truncate">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="w-full text-[9px] text-[#94a3b8] ellipsis-1">
|
||||
<view class="w-full text-[9px] text-[#94a3b8] truncate">
|
||||
{{ item.subTitle }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user