Skip to content

Commit

Permalink
Fix #3325 by using correct enum values whencomparing size (#3326)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij authored Feb 10, 2025
1 parent 67de81e commit 0bdf460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Components/Tabs/FluentTabs.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public partial class FluentTabs : FluentComponentBase
/// <summary />
protected string? StyleValue => new StyleBuilder(Style)
.AddStyle("padding", "6px", () => Size == TabSize.Small)
.AddStyle("padding", "12px 10px", () => Size == TabSize.Small)
.AddStyle("padding", "16px 10px", () => 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();
Expand Down

0 comments on commit 0bdf460

Please sign in to comment.