Skip to content

Commit df0f0cb

Browse files
committed
feat(Tab): support style attribute
1 parent b9299ef commit df0f0cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/Components/Tab/Tab.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public partial class Tab : IHandlerException
4343

4444
private string? StyleString => CssBuilder.Default()
4545
.AddClass($"height: {Height}px;", Height > 0)
46+
.AddStyleFromAttributes(AdditionalAttributes)
4647
.Build();
4748

4849
private readonly List<TabItem> _items = new(50);

0 commit comments

Comments
 (0)