app/views/components/ui/_card.html.erb in shadcn-ui-0.0.12 vs app/views/components/ui/_card.html.erb in shadcn-ui-0.0.13
- old
+ new
@@ -1,5 +1,5 @@
-<div class="rounded-lg border bg-card text-card-foreground shadow-sm w-[350px] <%= options[:class] %>">
+<div class="<%= tw("rounded-lg border bg-card text-card-foreground shadow-sm w-[350px]", options[:class]) %">
<% if title || subtitle %>
<div class="flex flex-col space-y-1.5 p-6">
<% if title %>
<h3 class="text-2xl font-semibold leading-none tracking-tight"><%= title %></h3>
<% end %> <% if subtitle %>