Skip to content

Commit

Permalink
fix: hidden editor header on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiresviana committed Mar 24, 2021
1 parent e9baf0c commit b521dec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@

#previewer {
background-color: rgba(0, 0, 0, 0.9);
padding-top: 4em;
position: fixed;
top: 0;
left: 0;
Expand Down Expand Up @@ -142,7 +143,6 @@
}

#previewer .preview {
margin-top: 4em;
text-align: center;
height: calc(100vh - 4em);
}
Expand Down Expand Up @@ -209,7 +209,7 @@
#editor-container {
background-color: #fafafa;
position: fixed;
margin-top: 4em;
padding-top: 4em;
top: 0;
left: 0;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/Files.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<header-bar v-if="error || !req.type" showMenu showLogo />
<header-bar v-if="error || req.type == null" showMenu showLogo />

<breadcrumbs base="/files" />

Expand Down

0 comments on commit b521dec

Please sign in to comment.