Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-switch): fix focus border position #2319

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

pavelkornev
Copy link
Member

@pavelkornev pavelkornev commented Oct 7, 2020

This change fixes the wrong focus border position:
Screen Shot 2020-10-07 at 22 03 10

It's 2px more from the right side because the border itself is not considered.

Alternative solution would be:

box-sizing: border-box;

But using width=100% with absolutely positioned elements in general is not a best practice.

@CLAassistant
Copy link

CLAassistant commented Oct 7, 2020

CLA assistant check
All committers have signed the CLA.

@ilhan007 ilhan007 merged commit df6c972 into SAP:master Oct 8, 2020
ilhan007 pushed a commit that referenced this pull request Oct 17, 2020
This change fixes the wrong focus border position.It's 2px more from the right side because the border itself is not considered.
ilhan007 pushed a commit that referenced this pull request Nov 11, 2020
This change fixes the wrong focus border position.It's 2px more from the right side because the border itself is not considered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants