Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f394087

Browse files
authored
feat(BootstrapLabel): support style html attribute (#6632)
1 parent 0b469ba commit f394087

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/Components/Label/BootstrapLabel.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public partial class BootstrapLabel
4040

4141
private string? StyleString => CssBuilder.Default()
4242
.AddStyle($"--bb-row-label-width", $"{LabelWidth}px", LabelWidth.HasValue)
43+
.AddStyleFromAttributes(AdditionalAttributes)
4344
.Build();
4445

4546
/// <summary>

0 commit comments

Comments
 (0)