Skip to content

Commit

Permalink
Use new Card color modifier in card as dropdown example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalejandroaguilar authored Aug 27, 2024
1 parent 70638d2 commit 6d0a41e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def example
"Click"
end

dropdown.content as: Card, class: "bg-primary text-primary-content w-64 p-2 shadow" do |card|
dropdown.content :primary, as: Card, class: "w-64 p-2 shadow" do |card|
card.body do
h3 class: "card-title" do
"Card title!"
Expand Down

0 comments on commit 6d0a41e

Please sign in to comment.