refactor: max width form dialog
This commit is contained in:
parent
a15e4c198a
commit
e192d5b5d0
1 changed files with 3 additions and 6 deletions
|
|
@ -12,6 +12,7 @@ defineProps<{
|
|||
badgeLabel?: string;
|
||||
badgeClass?: string;
|
||||
noFooter?: boolean;
|
||||
maxWidth?: number;
|
||||
submit?: (...args: unknown[]) => void;
|
||||
close?: (...args: unknown[]) => void;
|
||||
}>();
|
||||
|
|
@ -27,12 +28,8 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
|
|||
<template>
|
||||
<q-dialog v-model="modal" @hide="close">
|
||||
<AppBox
|
||||
style="
|
||||
padding: 0;
|
||||
border-radius: var(--radius-2);
|
||||
max-width: 85%;
|
||||
max-height: 100%;
|
||||
"
|
||||
style="padding: 0; border-radius: var(--radius-2); max-height: 100%"
|
||||
:style="`max-width:${maxWidth ? maxWidth : '85'}%`"
|
||||
>
|
||||
<q-form greedy @submit.prevent @validation-success="submit">
|
||||
<!-- header -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue