Skip to content

Commit 278b990

Browse files
authored
fix(Card): missing style html attribute (#6559)
* refactor: 使用代码生成组件支持 @OnClick 写法 * fix: 修复 style 丢失问题 * Revert "refactor: 使用代码生成组件支持 @OnClick 写法" This reverts commit c81d0a9.
1 parent 5529bd5 commit 278b990

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/Components/Card/Card.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public partial class Card
128128

129129
private string? HeaderStyleString => CssBuilder.Default()
130130
.AddStyle("--bs-card-cap-padding-y", HeaderPaddingY)
131+
.AddStyleFromAttributes(AdditionalAttributes)
131132
.Build();
132133

133134
/// <summary>

0 commit comments

Comments
 (0)