Skip to content

Commit 60e95b2

Browse files
authored
feat(Tab): support style attribute (#4462)
* feat(Tab): support style attribute * chore: bump version 8.10.3-beta03
1 parent b9299ef commit 60e95b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>8.10.3-beta02</Version>
4+
<Version>8.10.3-beta03</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

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)