fix: hidden editor header on Safari

pull/1353/head
Ramires Viana 2021-03-24 12:23:05 +00:00
parent e9baf0c4b6
commit b521dec8f9
2 changed files with 3 additions and 3 deletions

View File

@ -109,6 +109,7 @@
#previewer { #previewer {
background-color: rgba(0, 0, 0, 0.9); background-color: rgba(0, 0, 0, 0.9);
padding-top: 4em;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
@ -142,7 +143,6 @@
} }
#previewer .preview { #previewer .preview {
margin-top: 4em;
text-align: center; text-align: center;
height: calc(100vh - 4em); height: calc(100vh - 4em);
} }
@ -209,7 +209,7 @@
#editor-container { #editor-container {
background-color: #fafafa; background-color: #fafafa;
position: fixed; position: fixed;
margin-top: 4em; padding-top: 4em;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<header-bar v-if="error || !req.type" showMenu showLogo /> <header-bar v-if="error || req.type == null" showMenu showLogo />
<breadcrumbs base="/files" /> <breadcrumbs base="/files" />