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 1c91fa8 commit 280f6abCopy full SHA for 280f6ab
src/BootstrapBlazor/Components/Drawer/Drawer.razor.cs
@@ -19,7 +19,7 @@ public partial class Drawer
19
.Build();
20
21
private string? StyleString => CssBuilder.Default()
22
- .AddClass($"--bb-drawer-position: {Position};")
+ .AddClass($"--bb-drawer-position: {Position};", !string.IsNullOrEmpty(Position))
23
.AddClass($"--bb-drawer-zindex: {ZIndex};", ZIndex.HasValue)
24
.AddStyleFromAttributes(AdditionalAttributes)
25
0 commit comments