From d34b3a54421d2b1e620e829d76facec060b82a28 Mon Sep 17 00:00:00 2001 From: JOYCEQL <1449239013@qq.com> Date: Tue, 19 Nov 2024 21:13:36 +0800 Subject: [PATCH] style: editor baseInfo style --- .../src/components/editor/basic/BasicPanel.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/fronted/src/components/editor/basic/BasicPanel.tsx b/apps/fronted/src/components/editor/basic/BasicPanel.tsx index fb12810..61b2706 100644 --- a/apps/fronted/src/components/editor/basic/BasicPanel.tsx +++ b/apps/fronted/src/components/editor/basic/BasicPanel.tsx @@ -63,10 +63,10 @@ const CustomField: React.FC = ({ {...itemAnimations} className={cn( "grid grid-cols-[auto_auto_1fr_1fr_auto_auto] gap-3 items-center p-3", - "bg-white dark:bg-neutral-800 rounded-xl shadow-sm", + "bg-white dark:bg-neutral-800 rounded-xl", "border border-neutral-100 dark:border-neutral-700", "transition-all duration-200", - "hover:shadow-md hover:border-neutral-200 dark:hover:border-neutral-600", + " hover:border-neutral-200 dark:hover:border-neutral-600", !field.visible && "!opacity-60" )} > @@ -243,10 +243,10 @@ const BasicPanel: React.FC = () => { {...itemAnimations} className={cn( "grid grid-cols-[auto_auto_1fr_auto] gap-3 items-center p-3", - "bg-white dark:bg-neutral-800 rounded-xl shadow-sm", + "bg-white dark:bg-neutral-800 rounded-xl", "border border-neutral-100 dark:border-neutral-700", "transition-all duration-200", - "hover:shadow-md hover:border-neutral-200 dark:hover:border-neutral-600", + "hover:border-neutral-200 dark:hover:border-neutral-600", !field.visible && "opacity-60" )} > @@ -316,7 +316,7 @@ const BasicPanel: React.FC = () => { @@ -373,7 +373,7 @@ const BasicPanel: React.FC = () => { onClick={addCustomField} className={cn( "w-full mt-4 transition-colors", - "text-white shadow-sm", + "text-white", "bg-indigo-600", "hover:bg-indigo-700 hover:bg-indigo-700" )}