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:
@@ -8,7 +8,7 @@
|
|||||||
<div class="relative flex items-center justify-center h-[50px]">
|
<div class="relative flex items-center justify-center h-[50px]">
|
||||||
<div class="relative inline-flex items-center justify-center">
|
<div class="relative inline-flex items-center justify-center">
|
||||||
<span
|
<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 }}
|
{{ tab.label }}
|
||||||
</span>
|
</span>
|
||||||
<img v-if="modelValue === idx && (isZhiNian ? indicatorSrcB : indicatorSrc)"
|
<img v-if="modelValue === idx && (isZhiNian ? indicatorSrcB : indicatorSrc)"
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="w-px h-[50px] shrink-0"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user