diff --git a/src/BootstrapBlazor/Components/Label/BootstrapLabel.razor.cs b/src/BootstrapBlazor/Components/Label/BootstrapLabel.razor.cs index 8221930a009..e0118c6d65e 100644 --- a/src/BootstrapBlazor/Components/Label/BootstrapLabel.razor.cs +++ b/src/BootstrapBlazor/Components/Label/BootstrapLabel.razor.cs @@ -40,6 +40,7 @@ public partial class BootstrapLabel private string? StyleString => CssBuilder.Default() .AddStyle($"--bb-row-label-width", $"{LabelWidth}px", LabelWidth.HasValue) + .AddStyleFromAttributes(AdditionalAttributes) .Build(); ///