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">
<!-- prepend -->
<q-card-section
class="column col-4"
class="column col-2"
v-if="$slots.prepend && !$slots.append"
>
<slot name="prepend"></slot>
@ -131,7 +131,7 @@ watch(provinceId, (v) => {
<!-- center -->
<q-card-section
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
class="row inline col-12 q-col-gutter-x-md"