From 702615acc940c6ffec613ee6b0e36d478a38f0cc Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Fri, 19 Apr 2024 09:29:44 +0100 Subject: [PATCH] Use dvh for ide-root height to avoid cutoff (#18009) GitOrigin-RevId: efb452a7192a9d5e81376066cd879cefcfb337a8 --- services/web/frontend/stylesheets/app/editor/ide-react.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/stylesheets/app/editor/ide-react.less b/services/web/frontend/stylesheets/app/editor/ide-react.less index aadc3063c3..a10a0d9573 100644 --- a/services/web/frontend/stylesheets/app/editor/ide-react.less +++ b/services/web/frontend/stylesheets/app/editor/ide-react.less @@ -1,5 +1,6 @@ #ide-root { - height: 100vh; + height: 100vh; /* for backwards compatibility */ + height: 100dvh; /* needed for mobile devices */ .global-alerts { position: absolute;