3
0

Adjust min width of c-input-confirm buttons

This commit is contained in:
Jože Fortun 2024-09-26 15:06:01 +02:00
parent f4f0c42bc3
commit e5f9fc2422

View File

@ -44,6 +44,7 @@
:disabled="okDisabled" :disabled="okDisabled"
:class="{ 'border-0': borderless }" :class="{ 'border-0': borderless }"
class="flex-fill mr-1" class="flex-fill mr-1"
style="min-width: 2rem;"
@blur.prevent="onCancel()" @blur.prevent="onCancel()"
@click.prevent.stop="onConfirmation()" @click.prevent.stop="onConfirmation()"
> >
@ -62,6 +63,7 @@
:disabled="cancelDisabled" :disabled="cancelDisabled"
:class="[ borderless && 'border-0' ]" :class="[ borderless && 'border-0' ]"
class="flex-fill" class="flex-fill"
style="min-width: 2rem;"
@click.prevent.stop="onCancel()" @click.prevent.stop="onCancel()"
> >
<slot name="no"> <slot name="no">