From f91339e66b35b868b3956589a8db18856545cd45 Mon Sep 17 00:00:00 2001 From: Mitchell Austin Date: Wed, 8 Jan 2025 10:21:29 -0800 Subject: [PATCH] Fix File block resize glitches (#68372) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix File block’s resize width glitch * Fix stuck width from resize at prior align Co-authored-by: Mamaduka --- packages/block-library/src/file/edit.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/block-library/src/file/edit.js b/packages/block-library/src/file/edit.js index 838b807507d314..cf2c9458176934 100644 --- a/packages/block-library/src/file/edit.js +++ b/packages/block-library/src/file/edit.js @@ -255,11 +255,12 @@ function FileEdit( { attributes, isSelected, setAttributes, clientId } ) {
{ displayPreviewInEditor && (