fixes ezcater

This commit is contained in:
2024-02-08 14:24:21 -08:00
parent f8573f58e8
commit 735c26b643

View File

@@ -6,7 +6,7 @@
(defn card- [params & children]
(into [:div (update params :class
#(cond-> (or % "")
(not (str/includes? % "bg-")) (hh/add-class "dark:bg-gray-800 bg-white ")
(not (str/includes? (or % "") "bg-")) (hh/add-class "dark:bg-gray-800 bg-white ")
true (hh/add-class "shadow-md sm:rounded-lg border-2 border-gray-200 dark:border-gray-900 overflow-hidden")))]
children))