refactor: replace legacy flex utility classes and remove flex.scss
Replace all instances of prefixed flex utility classes (like flex-items-center, flex-justify-between, flex-full, flex-shrink-0) with their standard un-prefixed counterparts (items-center, justify-between, flex-1, shrink-0) across the codebase. Remove the deprecated src/static/scss/flex.scss partial file as it is no longer needed after these updates.
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
<view class="card-item bg-white inline-block rounded-[20px] mr-[10px]" v-for="(item, index) in list" :key="index"
|
||||
@click="sendReply(item)">
|
||||
|
||||
<view class="flex flex-row flex-justify-start p-[10px]">
|
||||
<image class="card-img flex-shrink-0 rounded-[14px]" :src="createSvgIndex(index)" />
|
||||
<view class="flex flex-row justify-start p-[10px]">
|
||||
<image class="card-img shrink-0 rounded-[14px]" :src="createSvgIndex(index)" />
|
||||
|
||||
<view class=" flex flex-col flex-full pl-[8px] py-[4px]">
|
||||
<view class=" flex flex-col flex-1 pl-[8px] py-[4px]">
|
||||
<view class="w-full text-[12px] font-[600] text-[#171717] truncate">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user