Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix Safari 13 issue.
  • Loading branch information
jasmussen committed Jun 10, 2021
commit 4ccc3e56f0838797e0df748f5a533a767b233754
5 changes: 4 additions & 1 deletion packages/edit-post/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@

.edit-post-visual-editor__content-area {
width: 100%;
height: 100%;
// If this is set to height: 100%; it breaks in Safari 13, which calculates the height relatively to the incorrect flex container.
// By setting it as a min-height instead, it appears to work in all cases.
min-height: 100%;
position: relative;
display: flex;
}