From 51d9222ef8fb90826a643526cb184823a11f3c4b Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Tue, 1 Nov 2022 09:54:35 +1000 Subject: [PATCH] SpacingSizesControl: Remove UnitControl inline style use (#45412) --- .../components/spacing-sizes-control/spacing-input-control.js | 1 - .../block-editor/src/components/spacing-sizes-control/style.scss | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/spacing-sizes-control/spacing-input-control.js b/packages/block-editor/src/components/spacing-sizes-control/spacing-input-control.js index 54d07e61c6d2b4..0e155c421d6ab0 100644 --- a/packages/block-editor/src/components/spacing-sizes-control/spacing-input-control.js +++ b/packages/block-editor/src/components/spacing-sizes-control/spacing-input-control.js @@ -233,7 +233,6 @@ export default function SpacingInputControl( { label={ ariaLabel } hideLabelFromVision={ true } className="components-spacing-sizes-control__custom-value-input" - style={ { gridColumn: '1' } } size={ '__unstable-large' } /> diff --git a/packages/block-editor/src/components/spacing-sizes-control/style.scss b/packages/block-editor/src/components/spacing-sizes-control/style.scss index 02731920c5e6ff..4b60a744bfd90b 100644 --- a/packages/block-editor/src/components/spacing-sizes-control/style.scss +++ b/packages/block-editor/src/components/spacing-sizes-control/style.scss @@ -91,6 +91,7 @@ .components-spacing-sizes-control__custom-value-input { width: 124px; margin-top: 8px; + grid-column: 1; } .components-range-control {