Skip to content

Commit

Permalink
fix toast class name conflict with bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Aug 18, 2024
1 parent a7daccf commit e07730d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/LoreSoft.Blazor.Controls/Styles/_toaster.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
right: 2rem;
}

.toast {
.toast-element {
display: flex;
position: relative;
flex-direction: row;
Expand Down
2 changes: 1 addition & 1 deletion src/LoreSoft.Blazor.Controls/Toaster/ToastElement.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private string ToastClass()
};

return CssBuilder
.Default("toast")
.Default("toast-element")
.AddClass(className)
.AddClass(Settings.ClassName)
.ToString();
Expand Down
Loading

0 comments on commit e07730d

Please sign in to comment.