MudTabs: Added property to reduce minimum width of a tab#5662
MudTabs: Added property to reduce minimum width of a tab#5662MS-Hayden wants to merge 1 commit intoMudBlazor:devfrom
Conversation
Codecov ReportBase: 91.63% // Head: 91.62% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev #5662 +/- ##
==========================================
- Coverage 91.63% 91.62% -0.02%
==========================================
Files 379 379
Lines 14889 14882 -7
==========================================
- Hits 13644 13635 -9
- Misses 1245 1247 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
@MS-Hayden Thanks for the PR. Re the API I think having |
|
Ok before you start let me discuss with team @MudBlazor/core-team |
Righto, I'll wait for the word. My argument is the the current minimum is very wide, forcing tab scrolling in nearly every situation I personally use it for and does not reflect the margin density you get in nearly all other components. Maybe it would be better to make Margin.Dense option for consistency with other components and really go to town on getting the sizing down closer to what you might see in Chrome Tabs. |
|
|
|
OK lets go with |
|
Closing this as I am now doing it on my personal account, not work account, and also will name the branch and PR something better with visual examples. |
Description
Adds a property
NoMinimumWidthto fit more tabs in a smaller space, as demoed below.Resolves #5323
How Has This Been Tested?
Added a unit test and tested visually.
Types of changes
Checklist:
dev).