Skip to content

Commit

Permalink
🐝 Safari fixes:
Browse files Browse the repository at this point in the history
Make the editor 100% height in Safari and position toolbars correctly.

Closes: TryGhost/Ghost#8023

M
  • Loading branch information
disordinary authored and kevinansfield committed Mar 20, 2017
1 parent 98d2394 commit 1d5c0e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/styles/addons/gh-koenig/gh-koenig.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

.__mobiledoc-editor {
width: 100%;
min-height: 100%;
height: 100%;
min-height: 300px;
padding-bottom: 10vw;
outline: none;
font-family: var(--font-family);
Expand Down
2 changes: 1 addition & 1 deletion app/styles/layouts/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
}

.gh-editor-container {
position: relative;
position: absolute;
overflow-y: auto;
padding: 10vw 4vw;
width: 100%;
Expand Down
1 change: 1 addition & 0 deletions app/styles/layouts/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ body > .ember-view:not(.default-liquid-destination) {
/* Flexbox fix. https://github.com/TryGhost/Ghost/issues/5804#issuecomment-141416812 */
.gh-main > section {
width: 1px;
position: relative; /* for the editor in safari */
}


Expand Down

0 comments on commit 1d5c0e8

Please sign in to comment.