From b2c6aa72351c5cb00a879c335cb7e429bd400260 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:14:45 +1000 Subject: [PATCH] SpacingSizesControl: Remove UnitControl inline style use --- .../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 {