Style edits

This commit is contained in:
2024-05-24 08:36:28 -04:00
parent 7bc0573455
commit 2fb236cf97

View File

@@ -2,7 +2,6 @@
<div class="q-pa-xs row q-gutter-xs">
<q-card
flat
bordered
class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
<q-card-section>
<div class="text-h5 q-mt-none q-mb-xs">New Booking</div>
@@ -15,7 +14,9 @@
clickable
@click="boatSelect = true">
<q-item-section>
<q-card v-if="bookingForm.boat">
<q-card
v-if="bookingForm.boat"
flat>
<q-card-section>
<q-img
:src="bookingForm.boat?.imgSrc"
@@ -42,11 +43,11 @@
color="primary"
label="Start" />
</q-item-section>
<q-item-section class="text-caption">
<q-item-section class="text-body2">
{{
date.formatDate(
new Date(bookingForm.startDate as string),
'ddd MMM Do @ hh:mm A'
'ddd MMM Do hh:mm A'
)
}}
</q-item-section>
@@ -57,11 +58,11 @@
color="primary"
label="End" />
</q-item-section>
<q-item-section class="text-caption">
<q-item-section class="text-body2">
{{
date.formatDate(
new Date(bookingForm.endDate as string),
'ddd MMM Do @ hh:mm A'
'ddd MMM Do hh:mm A'
)
}}
</q-item-section>
@@ -191,6 +192,7 @@ const bookingDuration = computed((): { hours: number; minutes: number } => {
});
const onReset = () => {
interval.value = undefined;
bookingForm.value = { ...newForm };
};
const onSubmit = () => {