fix(ui-layout): correct flex text truncation issues
Add min-w-0, w-full, and block classes to flex child elements and text nodes across various UI components to ensure text truncation works correctly. Remove outdated hardcoded card item width styles from global SCSS and replace them with inline responsive width classes where appropriate.
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
<view class="bg-white rounded-[12px] flex flex-col items-center justify-center p-[12px] mb-[12px] mx-[12px]">
|
||||
|
||||
<view class="flex w-full flex-row items-center justify-between py-[4px]">
|
||||
<view>
|
||||
<view class="text-[16px] font-[500] text-[#000000] leading-[24px] truncate">
|
||||
<view class="min-w-0 flex-1">
|
||||
<view class="w-full text-[16px] font-[500] text-[#000000] leading-[24px] truncate">
|
||||
{{ selectedVoucher.name }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user