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.
27 lines
532 B
Vue
27 lines
532 B
Vue
<template>
|
||
<view class="info-row flex items-center mt-[8px]">
|
||
<text class="label font-size-12 text-[#99a0ae]">{{ label }}:</text>
|
||
<text class="value flex-full font-size-12 text-[#99a0ae]">{{ value }}</text>
|
||
</view>
|
||
</template>
|
||
|
||
<script setup>
|
||
import { defineProps } from "vue";
|
||
|
||
// Props
|
||
const props = defineProps({
|
||
label: {
|
||
type: String,
|
||
required: true,
|
||
default: "",
|
||
},
|
||
value: {
|
||
type: [String, Number],
|
||
required: true,
|
||
default: "",
|
||
},
|
||
});
|
||
</script>
|
||
|
||
<style scoped lang="scss"></style>
|