From d532faad4b6d03771ba43e1fd3247db0c4a76ddb Mon Sep 17 00:00:00 2001 From: Pavel Kornev Date: Wed, 7 Oct 2020 21:52:52 +0200 Subject: [PATCH] fix(ui5-switch): fix focus border position --- packages/main/src/themes/Switch.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/main/src/themes/Switch.css b/packages/main/src/themes/Switch.css index 2b6585bc6e10..7bb6d57c96b4 100644 --- a/packages/main/src/themes/Switch.css +++ b/packages/main/src/themes/Switch.css @@ -101,7 +101,8 @@ left: -var(--_ui5_switch_outline); top: 0; bottom: 0; - width: 100%; + left: 0; + right: 0; border: var(--_ui5_switch_outline) dotted var(--sapContent_FocusColor); pointer-events: none; }