From 40c4c875c4673da125e8d04e4fc9ba617e130fdd Mon Sep 17 00:00:00 2001 From: Jan Skovgaard <1932158+BatJan@users.noreply.github.com> Date: Wed, 9 Jun 2021 01:02:37 +0200 Subject: [PATCH] Link picker: Make link input full width if anchor option is disabled (#10313) * Add missing focus styling * Add width modifier to link input * same result without adding new classes Co-authored-by: BatJan Co-authored-by: Jan Skovgaard Olsen Co-authored-by: Nathan Woulfe --- src/Umbraco.Web.UI.Client/src/less/property-editors.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/less/property-editors.less b/src/Umbraco.Web.UI.Client/src/less/property-editors.less index 328ba2229b..11d11c7e3a 100644 --- a/src/Umbraco.Web.UI.Client/src/less/property-editors.less +++ b/src/Umbraco.Web.UI.Client/src/less/property-editors.less @@ -950,6 +950,12 @@ .umb-linkpicker__url { width: 50%; padding-right: 5px; + + // when the anchor input is hidden by config + // the URL input should be full-width + &:only-child { + width: 100%; + } } .umb-linkpicker__anchor {