We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b02aca8 commit 7eabaf4Copy full SHA for 7eabaf4
src/BootstrapBlazor/Components/Badge/Badge.razor.cs
@@ -11,7 +11,7 @@ namespace BootstrapBlazor.Components;
11
public partial class Badge
12
{
13
private string? ClassString => CssBuilder.Default("badge")
14
- .AddClass($"bg-{Color.ToDescriptionString()}", Color != Color.None)
+ .AddClass($"text-bg-{Color.ToDescriptionString()}", Color != Color.None)
15
.AddClass("rounded-pill", IsPill)
16
.AddClassFromAttributes(AdditionalAttributes)
17
.Build();
0 commit comments