From b5c44f643dfe37a9b2f40574fc96f26ca75bd02f Mon Sep 17 00:00:00 2001 From: Mo Bitar Date: Fri, 14 Dec 2018 01:28:00 -0600 Subject: [PATCH] Loading overlay relative parent --- app/assets/stylesheets/app/_modals.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/app/_modals.scss b/app/assets/stylesheets/app/_modals.scss index 2e41059fa..1bd3141d9 100644 --- a/app/assets/stylesheets/app/_modals.scss +++ b/app/assets/stylesheets/app/_modals.scss @@ -168,6 +168,7 @@ flex-grow: 1; display: flex; flex-direction: column; + position: relative; // not sure why we need this. Removed because it creates unncessary scroll bars. Tested on folders extension, creates horizontal scrollbar at bottom on windows // overflow: auto; @@ -183,6 +184,8 @@ background-color: var(--sn-stylekit-editor-background-color); width: 100%; height: 100%; + left: 0; + top: 0; } iframe {