refactor: remove margin utils, use inline pixel spacing
Delete the src/static/scss/margin.scss utility file, update all component templates to replace pre-defined margin classes with inline arbitrary pixel values (e.g. mb-[4px] instead of mb-4), and clean up long template lines for better readability.
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<view class="long-text-guide-card__map-bar flex flex-items-center bg-white">
|
||||
<view class="flex-full">
|
||||
<view class="text-[#1e293b] font-size-15 font-900">{{ activeItem.action.title }}</view>
|
||||
<view class="text-[#94a3b8] font-size-12 font-800 mt-2">{{ activeItem.action.subtitle }}</view>
|
||||
<view class="text-[#94a3b8] font-size-12 font-800 mt-[2px]">{{ activeItem.action.subtitle }}</view>
|
||||
</view>
|
||||
<view class="long-text-guide-card__nav-btn text-white bg-[#0f172a] font-size-14 font-900"
|
||||
@click="handleAction(activeItem)">
|
||||
|
||||
Reference in New Issue
Block a user