Fix label spacing
This commit is contained in:
parent
20a82ee8ae
commit
6ef4a36bbc
2 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@
|
|||
<template v-slot:tag="props">
|
||||
<span
|
||||
:style="{'background': props.item.hexColor, 'color': props.item.textColor}"
|
||||
class="tag ml-2 mt-2">
|
||||
class="tag">
|
||||
<span>{{ props.item.title }}</span>
|
||||
<a @click="removeLabel(props.item)" class="delete is-small"></a>
|
||||
</span>
|
||||
|
@ -23,13 +23,13 @@
|
|||
<template v-slot:searchResult="props">
|
||||
<span
|
||||
v-if="typeof props.option === 'string'"
|
||||
class="tag ml-2">
|
||||
class="tag">
|
||||
<span>{{ props.option }}</span>
|
||||
</span>
|
||||
<span
|
||||
v-else
|
||||
:style="{'background': props.option.hexColor, 'color': props.option.textColor}"
|
||||
class="tag ml-2">
|
||||
class="tag">
|
||||
<span>{{ props.option.title }}</span>
|
||||
</span>
|
||||
</template>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
}
|
||||
|
||||
.tag {
|
||||
margin: 0.5em;
|
||||
margin: .5rem 0 .5rem .5rem;
|
||||
background: darken($background, 5);
|
||||
|
||||
&.disabled {
|
||||
|
|
Loading…
Reference in a new issue