-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fixes content shifting when anchor has focus due to 2px bottom border #16538
Fixes content shifting when anchor has focus due to 2px bottom border #16538
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit ff9b401:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: dadc7e0e0bd43d27ced6a6c85a3e353eae686f42 (build) |
🎉 Handy links: |
Pull request checklist
$ yarn change
Description of changes
Porting a fix from FAST anchor to FluentUI. Anchor focus styles have a 2px bottom border instead of the default 1px bottom border. This adds a bottom-margin based on the calculated difference between the default bottom border and the focus border width.
Focus areas to test
Tabbing to the hypertext anchor in the Storybook reveals the shift in content.