style(find-tabs): adjust spacing and label styles

Add a spacer div after the last tab to add consistent right padding, remove redundant px-1 padding from tab labels, and clean up excess whitespace in class attributes.
This commit is contained in:
DEV_DSW
2026-06-02 16:00:04 +08:00
parent a024fccab7
commit 0c94c8f798

View File

@@ -8,7 +8,7 @@
<div class="relative flex items-center justify-center h-[50px]">
<div class="relative inline-flex items-center justify-center">
<span
:class="['relative text-base z-10 px-1 leading-none', modelValue === idx ? 'text-[#0b0b0b] font-bold' : 'font-medium text-[#808c99]/90']">
:class="['relative text-base z-10 leading-none', modelValue === idx ? 'text-[#0b0b0b] font-bold' : 'font-medium text-[#808c99]/90']">
{{ tab.label }}
</span>
<img v-if="modelValue === idx && (isZhiNian ? indicatorSrcB : indicatorSrc)"
@@ -17,6 +17,7 @@
</div>
</div>
</div>
<div class="w-px h-[50px] shrink-0"></div>
</div>
</div>
</div>