From 8b10e6a251066d2222897b8912dcd06328037197 Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Fri, 7 Jul 2023 16:32:15 +0300 Subject: [PATCH] make the body of the editor minimmum viewport height so that smaller contents maintain clickability (#52406) --- packages/edit-site/src/components/block-editor/editor-canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/block-editor/editor-canvas.js b/packages/edit-site/src/components/block-editor/editor-canvas.js index 34c23cc699bc2..a8bbe75e0261b 100644 --- a/packages/edit-site/src/components/block-editor/editor-canvas.js +++ b/packages/edit-site/src/components/block-editor/editor-canvas.js @@ -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;' : '' }}}` }