From a4d98f4f17734ae71fb154c7effda0d67d064320 Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Fri, 21 Jun 2024 15:01:55 +0200 Subject: [PATCH] gaufre: fix modal mode sizing issue on mobile the 100vh takes too much place sometime, making the close button being rendered behind the browser UI. now we use the "svh" unit when available, which is the same as vh but making sure we dont overlap with browser UI. --- website/public/api/v1/gaufre.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/public/api/v1/gaufre.js b/website/public/api/v1/gaufre.js index 777fc57..ff24aeb 100644 --- a/website/public/api/v1/gaufre.js +++ b/website/public/api/v1/gaufre.js @@ -154,8 +154,10 @@ left: 0; bottom: 0; right: 0; - width: 100vw; - height: 100vh; + width: 100%; + width: 100svw; + height: 100%; + height: 100svh; margin: auto; ` }