From b521dec8f9b14dd92248c429e902ebc639046389 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Wed, 24 Mar 2021 12:23:05 +0000 Subject: [PATCH] fix: hidden editor header on Safari --- frontend/src/css/styles.css | 4 ++-- frontend/src/views/Files.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/css/styles.css b/frontend/src/css/styles.css index 80138364..e32856e3 100644 --- a/frontend/src/css/styles.css +++ b/frontend/src/css/styles.css @@ -109,6 +109,7 @@ #previewer { background-color: rgba(0, 0, 0, 0.9); + padding-top: 4em; position: fixed; top: 0; left: 0; @@ -142,7 +143,6 @@ } #previewer .preview { - margin-top: 4em; text-align: center; height: calc(100vh - 4em); } @@ -209,7 +209,7 @@ #editor-container { background-color: #fafafa; position: fixed; - margin-top: 4em; + padding-top: 4em; top: 0; left: 0; width: 100%; diff --git a/frontend/src/views/Files.vue b/frontend/src/views/Files.vue index c49a1c5c..eba7acab 100644 --- a/frontend/src/views/Files.vue +++ b/frontend/src/views/Files.vue @@ -1,6 +1,6 @@