Skip to content

Commit df6c972

Browse files
authored
fix(ui5-switch): fix focus border position (#2319)
This change fixes the wrong focus border position.It's 2px more from the right side because the border itself is not considered.
1 parent 990318b commit df6c972

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/main/src/themes/Switch.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
left: -var(--_ui5_switch_outline);
102102
top: 0;
103103
bottom: 0;
104-
width: 100%;
104+
left: 0;
105+
right: 0;
105106
border: var(--_ui5_switch_outline) dotted var(--sapContent_FocusColor);
106107
pointer-events: none;
107108
}

0 commit comments

Comments
 (0)