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: Button stories shouldn't shrink past min-content #31058

Merged
merged 4 commits into from Apr 16, 2024

Conversation

smhigley
Copy link
Contributor

Story-only styles, lots of adding min-width: min-content :D

Previously some text was getting clipped when there was a word that went longer than the min-width: 96px on Button.

@smhigley smhigley requested review from khmakoto and a team as code owners April 15, 2024 21:40
@github-actions github-actions bot added this to the April Project Cycle Q1 2024 milestone Apr 15, 2024
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 38 25 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 644 642 5000
Button mount 294 305 5000
Field mount 1120 1090 5000
FluentProvider mount 690 701 5000
FluentProviderWithTheme mount 85 77 10
FluentProviderWithTheme virtual-rerender 38 25 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 79 84 10
MakeStyles mount 829 867 50000
Persona mount 1749 1746 5000
SpinButton mount 1410 1394 5000

Copy link

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.

@fabricteam
Copy link
Collaborator

📊 Bundle size report

✅ No changes found

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@smhigley smhigley merged commit 0e7d5aa into microsoft:master Apr 16, 2024
19 checks passed
Hotell pushed a commit to Hotell/fluentui that referenced this pull request Apr 17, 2024
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.

None yet

3 participants