fixes ezcater
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
(defn card- [params & children]
|
(defn card- [params & children]
|
||||||
(into [:div (update params :class
|
(into [:div (update params :class
|
||||||
#(cond-> (or % "")
|
#(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")))]
|
true (hh/add-class "shadow-md sm:rounded-lg border-2 border-gray-200 dark:border-gray-900 overflow-hidden")))]
|
||||||
children))
|
children))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user