Fix label spacing

This commit is contained in:
kolaente 2021-01-17 10:55:04 +01:00
parent 20a82ee8ae
commit 6ef4a36bbc
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -4,7 +4,7 @@
}
.tag {
margin: 0.5em;
margin: .5rem 0 .5rem .5rem;
background: darken($background, 5);
&.disabled {