From 4cded4a60dfb36d3281c21ffbf26cb7607ab9d7d Mon Sep 17 00:00:00 2001 From: Andrea Di Cesare Date: Wed, 11 Sep 2024 09:26:07 +0200 Subject: [PATCH] :bug: Fix iframe height --- css/main.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/css/main.scss b/css/main.scss index 56561c32..53bf474c 100644 --- a/css/main.scss +++ b/css/main.scss @@ -226,14 +226,12 @@ text-black { .iframe-parent { height: calc(var(--vh, 1vh) * 100 - 64px); // see https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ - height: calc(100vh - 64px); // fallback border: none; } iframe { margin-top: 0; // fix position about navbar in ios safari height: calc(var(--vh, 1vh) * 100 - 64px); // see https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ - height: calc(100vh - 64px); // fallback width: 100%; border: none; }