mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-02 12:09:59 +08:00
style: Toast 组件增加 z-index 属性
This commit is contained in:
parent
a83f9d256d
commit
71e1b0b816
@ -12,7 +12,7 @@ namespace BootstrapBlazor.Components
|
||||
/// <summary>
|
||||
/// 获得 Toast 组件样式设置
|
||||
/// </summary>
|
||||
protected string? StyleName => CssBuilder.Default("position: fixed;")
|
||||
protected string? StyleName => CssBuilder.Default("position: fixed; z-index: 1040;")
|
||||
.AddClass("top: 1rem; right: 1rem;", Placement != Placement.BottomEnd)
|
||||
.AddClass("bottom: 1rem; right: 1rem;", Placement == Placement.BottomEnd)
|
||||
.Build();
|
||||
|
Loading…
Reference in New Issue
Block a user