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:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="more-tips bg-white border-box">
|
||||
<view class="font-size-0 whitespace-nowrap scroll-x">
|
||||
<view class="more-tips-item inline-block mr-8" v-for="(item, index) in guideWords" :key="index">
|
||||
<view class="more-tips-item inline-block mr-[8px]" v-for="(item, index) in guideWords" :key="index">
|
||||
<text :class="['font-500 font-size-12 text-center', `color-${index}`]" @click="sendReply(item)">
|
||||
{{ item }}
|
||||
</text>
|
||||
|
||||
Reference in New Issue
Block a user