fix: label edit spacing
This commit is contained in:
parent
ff9e1b3fca
commit
6a6203f553
1 changed files with 15 additions and 3 deletions
|
@ -25,13 +25,13 @@
|
||||||
<template #searchResult="props">
|
<template #searchResult="props">
|
||||||
<span
|
<span
|
||||||
v-if="typeof props.option === 'string'"
|
v-if="typeof props.option === 'string'"
|
||||||
class="tag">
|
class="tag search-result">
|
||||||
<span>{{ props.option }}</span>
|
<span>{{ props.option }}</span>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
v-else
|
v-else
|
||||||
:style="{'background': props.option.hexColor, 'color': props.option.textColor}"
|
:style="{'background': props.option.hexColor, 'color': props.option.textColor}"
|
||||||
class="tag">
|
class="tag search-result">
|
||||||
<span>{{ props.option.title }}</span>
|
<span>{{ props.option.title }}</span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -152,6 +152,18 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.tag {
|
.tag {
|
||||||
margin: .5rem 0 0 .5rem;
|
margin: .25rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag.search-result {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.input-wrapper) {
|
||||||
|
padding: .25rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(input.input) {
|
||||||
|
padding: 0 .5rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue