Преглед изворни кода

Use dvh for ide-root height to avoid cutoff (#18009)

GitOrigin-RevId: efb452a7192a9d5e81376066cd879cefcfb337a8
Alf Eaton пре 2 година
родитељ
комит
702615acc9
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      services/web/frontend/stylesheets/app/editor/ide-react.less

+ 2 - 1
services/web/frontend/stylesheets/app/editor/ide-react.less

@@ -1,5 +1,6 @@
 #ide-root {
 #ide-root {
-  height: 100vh;
+  height: 100vh; /* for backwards compatibility */
+  height: 100dvh; /* needed for mobile devices */
 
 
   .global-alerts {
   .global-alerts {
     position: absolute;
     position: absolute;