From 6d0a41e14d66ef795882c830c9f33342c71c4363 Mon Sep 17 00:00:00 2001 From: David Alejandro <15317732+davidalejandroaguilar@users.noreply.github.com> Date: Tue, 27 Aug 2024 00:57:27 +0000 Subject: [PATCH] Use new Card color modifier in card as dropdown example --- .../components/examples/dropdowns/card_as_dropdown_component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/components/examples/dropdowns/card_as_dropdown_component.rb b/app/views/components/examples/dropdowns/card_as_dropdown_component.rb index 873ea1a..501fdd8 100644 --- a/app/views/components/examples/dropdowns/card_as_dropdown_component.rb +++ b/app/views/components/examples/dropdowns/card_as_dropdown_component.rb @@ -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!"