From ec4cdc75438d5b7f412f4fe65e6a432e9d63da3d Mon Sep 17 00:00:00 2001 From: charlie Date: Fri, 16 Aug 2024 13:42:30 +0800 Subject: [PATCH] enhance(ui): polish details --- src/main/frontend/components/property.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/frontend/components/property.cljs b/src/main/frontend/components/property.cljs index 89dc6746ba..0e0526c304 100644 --- a/src/main/frontend/components/property.cljs +++ b/src/main/frontend/components/property.cljs @@ -675,10 +675,10 @@ :page-cp page-cp}) (when-not (ldb/built-in-class-property? block property) - [:div.mt-8.my-4 + [:div.mt-4.border-t.pt-3.px-3.-mx-4.-mb-1 (shui/button - {:variant :destructive - :class "text-muted-foreground opacity-50 hover:opacity-80" + {:variant :ghost + :class "!text-red-rx-09 opacity-50 hover:opacity-100" :size :sm :on-click (fn [] (handle-delete-property! block property {:class-schema? class-schema?})