@fy-/fws-vue 2.2.98 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -62,12 +62,12 @@ const props = withDefaults(
|
|
|
62
62
|
onClose?: Function
|
|
63
63
|
closeIcon?: object
|
|
64
64
|
mSize?: string
|
|
65
|
-
|
|
65
|
+
ofy?: string
|
|
66
66
|
}>(),
|
|
67
67
|
{
|
|
68
68
|
closeIcon: () => h(XCircleIcon),
|
|
69
69
|
mSize: 'w-full',
|
|
70
|
-
|
|
70
|
+
ofy: 'overflow-y-auto',
|
|
71
71
|
},
|
|
72
72
|
)
|
|
73
73
|
|
|
@@ -250,7 +250,7 @@ function handleBackdropClick(event: MouseEvent) {
|
|
|
250
250
|
>
|
|
251
251
|
<div
|
|
252
252
|
v-if="isOpen"
|
|
253
|
-
class="fixed inset-0
|
|
253
|
+
class="fixed inset-0"
|
|
254
254
|
:style="{ zIndex }"
|
|
255
255
|
role="dialog"
|
|
256
256
|
:aria-labelledby="title ? `${props.id}-title` : undefined"
|
|
@@ -267,7 +267,7 @@ function handleBackdropClick(event: MouseEvent) {
|
|
|
267
267
|
<!-- Modal panel -->
|
|
268
268
|
<div
|
|
269
269
|
ref="modalRef"
|
|
270
|
-
:class="`relative ${mSize} max-w-6xl bg-white rounded-lg shadow dark:bg-fv-neutral-900`"
|
|
270
|
+
:class="`relative ${mSize} max-w-6xl max-h-[90vh] bg-white rounded-lg shadow dark:bg-fv-neutral-900 flex flex-col`"
|
|
271
271
|
:style="{ zIndex }"
|
|
272
272
|
tabindex="-1"
|
|
273
273
|
@click.stop
|
|
@@ -293,7 +293,7 @@ function handleBackdropClick(event: MouseEvent) {
|
|
|
293
293
|
</button>
|
|
294
294
|
</div>
|
|
295
295
|
<!-- Content area -->
|
|
296
|
-
<div class="p-3 space-y-3">
|
|
296
|
+
<div :class="`p-3 space-y-3 flex-grow ${ofy}`">
|
|
297
297
|
<slot />
|
|
298
298
|
</div>
|
|
299
299
|
</div>
|