-
Notifications
You must be signed in to change notification settings - Fork 459
Closed
Labels
triageNew issue. Needs to be looked atNew issue. Needs to be looked at
Description
🐛 Bug Report
The FluentTabs TabSize property does not appear to work.
🤔 Expected Behavior
Size should change depending on supplied TabSize value.
😯 Current Behavior
Tab size always defaults to small (i.e. 6px)
💁 Possible Solution
/src/Core/Components/Tabs/FluentTabs.razor.cs
protected string? StyleValue => new StyleBuilder(Style)
.AddStyle("padding", "6px", () => Size == TabSize.Small)
.AddStyle("padding", "12px 10px", () => Size == TabSize.Medium)
.AddStyle("padding", "16px 10px", () => Size == TabSize.Large)
.AddStyle("width", Width, () => !string.IsNullOrEmpty(Width))
.AddStyle("height", Height, () => !string.IsNullOrEmpty(Height))
.Build();
🌍 Your Environment
- .NET 9 and Fluent UI Blazor library Version 4.11.3
Metadata
Metadata
Assignees
Labels
triageNew issue. Needs to be looked atNew issue. Needs to be looked at