Skip to content

Commit

Permalink
Merge pull request #106 from fo-code/card-body-class
Browse files Browse the repository at this point in the history
Added an attribute for applying classes to the card-body
  • Loading branch information
uhafner authored Feb 15, 2022
2 parents a7f9bf0 + 5c85d0d commit 8b10e7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/resources/bootstrap5/card.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@
<st:attribute name="class" use="optional" type="String">
Additional classes to be applied to the card.
</st:attribute>
<st:attribute name="bodyClass" use="optional" type="String">
Additional classes to be applied to the card-body.
</st:attribute>

</st:documentation>

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

<div class="card ${class}">
<div class="card-body">
<div class="card-body ${bodyClass}">
<div class="card-title">
${title}

Expand Down

0 comments on commit 8b10e7f

Please sign in to comment.