From 7207b1a23cb50f1a481c2e42455f9ac55583eea8 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Thu, 17 Dec 2020 20:01:32 +1000 Subject: [PATCH] Fix link control styles to prevent scrollbar The .components-visually-hidden element within the control is absolutely positioned however the link control has no position: relative set. The result without it is the hidden element causes a horizontal scrollbar. This fixes that. --- packages/block-editor/src/components/link-control/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/components/link-control/style.scss b/packages/block-editor/src/components/link-control/style.scss index c9249011bc4d2..7d19235abafbd 100644 --- a/packages/block-editor/src/components/link-control/style.scss +++ b/packages/block-editor/src/components/link-control/style.scss @@ -172,6 +172,7 @@ $block-editor-link-control-number-of-actions: 1; display: block; margin-bottom: 0.2em; font-weight: 500; + position: relative; mark { font-weight: 700;