From 1fa7012fe5ac7cae22c33ba6ec8053dff0c243ad Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:52:16 +1100 Subject: [PATCH] Cover block: clear the min height field when aspect ratio is set (#59191) * Cover block: empty min height field when an aspect ratio is set * Tidy things slightly Co-authored-by: andrewserong Co-authored-by: aaronrobertshaw --- packages/block-library/src/cover/edit/inspector-controls.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/cover/edit/inspector-controls.js b/packages/block-library/src/cover/edit/inspector-controls.js index 889ce3716b9631..634e99dc2d98d6 100644 --- a/packages/block-library/src/cover/edit/inspector-controls.js +++ b/packages/block-library/src/cover/edit/inspector-controls.js @@ -308,7 +308,11 @@ export default function CoverInspectorControls( { panelId={ clientId } > setAttributes( {