Skip to content

Commit

Permalink
fix(ui5-switch): fix focus border position (#2319)
Browse files Browse the repository at this point in the history
This change fixes the wrong focus border position.It's 2px more from the right side because the border itself is not considered.
  • Loading branch information
pavelkornev authored Oct 8, 2020
1 parent 990318b commit df6c972
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/main/src/themes/Switch.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit df6c972

Please sign in to comment.