fix: stringlist button icon not being centered

This commit is contained in:
Matthias 2024-11-22 18:08:18 +01:00
parent 3ef10a44f1
commit 933b8fd318

View File

@ -21,6 +21,7 @@ withDefaults(
:size="size" :size="size"
variant="outline-secondary" variant="outline-secondary"
title="Delete this value." title="Delete this value."
class="d-flex align-items-center justify-content-center"
@click="values.splice(idx, 1)" @click="values.splice(idx, 1)"
> >
<i-mdi-delete /> <i-mdi-delete />
@ -31,9 +32,10 @@ withDefaults(
:size="size" :size="size"
:title="`Add new value`" :title="`Add new value`"
variant="secondary" variant="secondary"
class="mt-auto" class="mt-auto d-flex align-items-center justify-content-center"
@click="values.push('')" @click="values.push('')"
><i-mdi-plus-box-outline /> >
<i-mdi-plus-box-outline />
</BButton> </BButton>
</div> </div>
</template> </template>