|
@ -9,7 +9,7 @@ |
|
|
}" |
|
|
}" |
|
|
:style="{ backgroundColor: item.color, fontSize: size == 'sm' ? '0.7em' : '1em' }" |
|
|
:style="{ backgroundColor: item.color, fontSize: size == 'sm' ? '0.7em' : '1em' }" |
|
|
> |
|
|
> |
|
|
{{ displayText }} |
|
|
<span class="tag-text">{{ displayText }}</span> |
|
|
<span v-if="remove != null" class="ps-1 btn-remove" @click="remove(item)"> |
|
|
<span v-if="remove != null" class="ps-1 btn-remove" @click="remove(item)"> |
|
|
<font-awesome-icon icon="times" /> |
|
|
<font-awesome-icon icon="times" /> |
|
|
</span> |
|
|
</span> |
|
@ -49,6 +49,10 @@ export default { |
|
|
color: white; |
|
|
color: white; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tag-text { |
|
|
|
|
|
padding-bottom: 1px !important; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.btn-remove { |
|
|
.btn-remove { |
|
|
font-size: 0.9em; |
|
|
font-size: 0.9em; |
|
|
line-height: 24px; |
|
|
line-height: 24px; |
|
|