refactor: form space

This commit is contained in:
puriphatt 2024-04-10 13:57:17 +07:00
parent 542eb78ea5
commit ba3c9b1a11

View file

@ -123,7 +123,7 @@ watch(provinceId, (v) => {
<div class="row" style="overflow-y: auto; max-height: 50vh"> <div class="row" style="overflow-y: auto; max-height: 50vh">
<!-- prepend --> <!-- prepend -->
<q-card-section <q-card-section
class="column col-4" class="column col-2"
v-if="$slots.prepend && !$slots.append" v-if="$slots.prepend && !$slots.append"
> >
<slot name="prepend"></slot> <slot name="prepend"></slot>
@ -131,7 +131,7 @@ watch(provinceId, (v) => {
<!-- center --> <!-- center -->
<q-card-section <q-card-section
class="column" class="column"
:class="`${$slots.prepend ? 'col-8' : $slots.append ? 'col-6' : 'col-12'}`" :class="`${$slots.prepend ? 'col-10' : $slots.append ? 'col-6' : 'col-12'}`"
> >
<div <div
class="row inline col-12 q-col-gutter-x-md" class="row inline col-12 q-col-gutter-x-md"