Skip to content

Commit

Permalink
make the body of the editor minimmum viewport height so that smaller …
Browse files Browse the repository at this point in the history
…contents maintain clickability (#52406)
  • Loading branch information
draganescu committed Jul 7, 2023
1 parent 7b334ff commit cec1fc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function EditorCanvas( { enableResizing, settings, children, ...props } ) {
enableResizing ? 'min-height:0!important;' : ''
}}body{position:relative; ${
canvasMode === 'view'
? 'cursor: pointer; height: 100vh'
? 'cursor: pointer; min-height: 100vh;'
: ''
}}}`
}</style>
Expand Down

1 comment on commit cec1fc3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in cec1fc3.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5486976267
📝 Reported issues:

Please sign in to comment.