refactor: remove font-size utility file and replace with inline text classes
Delete the src/static/scss/font-size.scss utility file, and replace all legacy `font-size-*` class usages across the codebase with inline `text-[numberpx]` styling to consolidate font size definitions and remove redundant utility code.
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
|
||||
<image class="g_title mt-[20px]" :src="componentDataMap.title" />
|
||||
|
||||
<text class="font-size-14 font-[400] text-white my-[12px] text-center">
|
||||
<text class="text-[14px] font-[400] text-white my-[12px] text-center">
|
||||
{{ componentDataMap.description }}
|
||||
</text>
|
||||
|
||||
<view class="w-full px-[12px] pb-[8px] flex flex-row" @click="jumpClick">
|
||||
<view class="btn-bg w-full p-[4px] rounded-[24px] flex flex-row">
|
||||
<view
|
||||
class="btn-bg-sub w-full p-[16px] rounded-[20px] flex flex-row flex-items-center flex-justify-center text-white text-center font-size-18 font-bold">
|
||||
class="btn-bg-sub w-full p-[16px] rounded-[20px] flex flex-row flex-items-center flex-justify-center text-white text-center text-[18px] font-bold">
|
||||
{{ componentDataMap.buttonName }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user