Skip to content

Commit 0bdf460

Browse files
authored
Fix #3325 by using correct enum values whencomparing size (#3326)
1 parent 67de81e commit 0bdf460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core/Components/Tabs/FluentTabs.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public partial class FluentTabs : FluentComponentBase
2828
/// <summary />
2929
protected string? StyleValue => new StyleBuilder(Style)
3030
.AddStyle("padding", "6px", () => Size == TabSize.Small)
31-
.AddStyle("padding", "12px 10px", () => Size == TabSize.Small)
32-
.AddStyle("padding", "16px 10px", () => Size == TabSize.Small)
31+
.AddStyle("padding", "12px 10px", () => Size == TabSize.Medium)
32+
.AddStyle("padding", "16px 10px", () => Size == TabSize.Large)
3333
.AddStyle("width", Width, () => !string.IsNullOrEmpty(Width))
3434
.AddStyle("height", Height, () => !string.IsNullOrEmpty(Height))
3535
.Build();

0 commit comments

Comments
 (0)