Skip to content

Commit 2afc4b9

Browse files
committed
refactor: 增加样式
1 parent d051a1a commit 2afc4b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Watermark/Watermark.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public partial class Watermark
6060
public bool IsPage { get; set; }
6161

6262
private string? ClassString => CssBuilder.Default("bb-watermark")
63-
.AddClass("is-page", ChildContent is null)
63+
.AddClass("is-page", IsPage)
6464
.AddClassFromAttributes(AdditionalAttributes)
6565
.Build();
6666

0 commit comments

Comments
 (0)