fix : tag position
This commit is contained in:
@@ -63,20 +63,32 @@
|
||||
|
||||
<div
|
||||
v-if="displayTags && selectedOptions.length > 0"
|
||||
class="flex flex-wrap items-center justify-start gap-1 px-1 pr-6"
|
||||
:class="[label ? 'pt-3 pb-1' : '']"
|
||||
class="flex flex-wrap items-center justify-start gap-1"
|
||||
:class="[label ? 'pt-1' : '']"
|
||||
>
|
||||
<span
|
||||
v-for="option in selectedOptions"
|
||||
:key="String(option.value)"
|
||||
class="inline-flex max-w-full items-center rounded-md border border-black px-2 text-sm leading-none text-black"
|
||||
>
|
||||
<span class="truncate">{{ option.label }}</span>
|
||||
<span class="truncate pb-[2px]">{{ option.label }}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<span
|
||||
v-show="!displayTags"
|
||||
v-else-if="displayTag && emptyOptionLabel"
|
||||
class="block truncate text-right"
|
||||
:class="[
|
||||
textValue,
|
||||
label ? 'pl-24' : '',
|
||||
'text-m-muted'
|
||||
]"
|
||||
>
|
||||
{{ emptyOptionLabel }}
|
||||
</span>
|
||||
|
||||
<span
|
||||
v-if="!displayTag"
|
||||
class="block truncate text-right"
|
||||
:class="[
|
||||
textValue,
|
||||
|
||||
Reference in New Issue
Block a user