@fy-/fws-vue 2.2.99 → 2.3.1

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.
@@ -67,7 +67,7 @@ const props = withDefaults(
67
67
  {
68
68
  closeIcon: () => h(XCircleIcon),
69
69
  mSize: 'w-full',
70
- ofy: 'overflow-y-auto',
70
+ ofy: 'overflow-y-auto cool-scroll-modal',
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 overflow-hidden"
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-[85vh] 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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.2.99",
3
+ "version": "2.3.01",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",