Skip to content

Commit 8b10e7f

Browse files
authored
Merge pull request #106 from fo-code/card-body-class
Added an attribute for applying classes to the card-body
2 parents a7f9bf0 + 5c85d0d commit 8b10e7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/resources/bootstrap5/card.jelly

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@
2222
<st:attribute name="class" use="optional" type="String">
2323
Additional classes to be applied to the card.
2424
</st:attribute>
25+
<st:attribute name="bodyClass" use="optional" type="String">
26+
Additional classes to be applied to the card-body.
27+
</st:attribute>
2528

2629
</st:documentation>
2730

2831
<st:adjunct includes="io.jenkins.plugins.bootstrap5"/>
2932

3033
<div class="card ${class}">
31-
<div class="card-body">
34+
<div class="card-body ${bodyClass}">
3235
<div class="card-title">
3336
${title}
3437

0 commit comments

Comments
 (0)