@r2digisolutions/components 0.25.9 → 0.25.10
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.
|
@@ -181,10 +181,10 @@
|
|
|
181
181
|
</div>
|
|
182
182
|
{/if}
|
|
183
183
|
|
|
184
|
-
<!-- Scroll outer, center inner
|
|
184
|
+
<!-- Scroll outer, center inner. min-h-dvh so the card stays centered even when a parent only has min-height. -->
|
|
185
185
|
<div class="min-h-0 flex h-full flex-1 flex-col overflow-y-auto">
|
|
186
186
|
<div
|
|
187
|
-
class="px-5 py-8 sm:px-8 sm:py-10 flex min-h-
|
|
187
|
+
class="px-5 py-8 sm:px-8 sm:py-10 flex min-h-dvh flex-1 flex-col items-center justify-center"
|
|
188
188
|
>
|
|
189
189
|
<div class="max-w-md mx-auto w-full shrink-0">
|
|
190
190
|
{#if children}
|