From d0e5e05f0fa37143e2e8a772ee6843893e7f0830 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 11 May 2023 17:59:50 -0300 Subject: [PATCH] =?UTF-8?q?no=20dejar=20que=20los=20modales=20sean=20m?= =?UTF-8?q?=C3=A1s=20altos=20que=20la=20pantalla?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Modal.svelte b/src/components/Modal.svelte index beb2cf2..7bf8a74 100644 --- a/src/components/Modal.svelte +++ b/src/components/Modal.svelte @@ -112,7 +112,7 @@ .content-alignment { display: flex; - min-height: 100vh; + height: 100vh; position: fixed; inset: 0; z-index: 269; @@ -122,7 +122,8 @@ } .content { - overflow-y: none; + overflow-y: auto; + max-height: 100%; background: var(--background); padding: 16px 20px; border-radius: 16px;