-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Button: fix size mismatch between primary and default buttons #11366
Conversation
Asset size changes
Over Tolerance (1024 B) Over Baseline Below Baseline New Removed 1 kB = 1000 B Baseline commit: 9f3391062f8f862986c54612a25c6702ebc6cf36 (build) |
Component Perf AnalysisNo significant results to display. All results
|
Also, the change in border is affecting the appearance of the focus state before: after Not 100% sure the 'after' there is wrong. but it's a change. @betrue-final-final what's your take on the focus styles with that extra pixel border? |
It actually makes it a little clearer. I'm good with this. Would Default also look like this with the extra padding? |
Ben is good with the new focus rec......i'd say just clean up high contrast and we're good |
163a64c
to
a93ddbe
Compare
Forgot to hit send. Yes this is great. |
@xugao I think we also need to adjust the border of primary buttons in High Contrast when the buttons are hovered and pressed. |
🎉 Handy links: |
Pull request checklist
$ yarn change
Description of changes
Fix bug where primary & default buttons with same child have different sizes due to primary one has no border but default one does.
Microsoft Reviewers: Open in CodeFlow