From 4ceb42603e2c9d4051df1a9140728ea30f2f833f Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Mon, 20 Apr 2020 10:47:52 +0200 Subject: [PATCH] css: Fixes #3900 innerdocbodyu Layout broken for safari (#3906) and other browsers --- src/static/css/pad/layout.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/static/css/pad/layout.css b/src/static/css/pad/layout.css index f2f2f1fdb..f717443a4 100644 --- a/src/static/css/pad/layout.css +++ b/src/static/css/pad/layout.css @@ -19,6 +19,7 @@ body { /* For sticky chat */ display: flex; flex-direction: row; + height: 0; /* strange bug some browser need this to be working ok */ } #editorcontainerbox #editorcontainer { display: flex; /* transfer flex properties to nested elements, here the iframe */ @@ -27,6 +28,7 @@ body { } #editorcontainerbox #editorcontainer iframe { width: 100%; + height: 100%; } #editorcontainerbox .sticky-container { /* container for #users, #chat, #toc (table of content) and so on... */ display: flex;