From c95443c974a2cbeab69b160c5e3d67990eb8c2fe Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 13 Dec 2024 18:26:45 +0000 Subject: [PATCH] Ensure full width inputs --- .../src/components/link-control/style.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/link-control/style.scss b/packages/block-editor/src/components/link-control/style.scss index 16493e1a5aa7f..a8afa9e2ffc12 100644 --- a/packages/block-editor/src/components/link-control/style.scss +++ b/packages/block-editor/src/components/link-control/style.scss @@ -346,11 +346,15 @@ $block-editor-link-control-number-of-actions: 1; .block-editor-link-control__setting { margin-bottom: 0; flex: 1; - padding: $grid-unit-10 0 $grid-unit-10 $grid-unit-30; + padding: $grid-unit-10 $grid-unit-30; - .components-base-control__field { - display: flex; // don't allow label to wrap under checkbox. + .components-base-control:not(.components-input-control) { + .components-base-control__field { + display: flex; // don't allow label to wrap under checkbox. + } + } + .components-base-control__field { .components-checkbox-control__label { color: $gray-900; }