From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/workflow/note-node/index.tsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/components/workflow/note-node/index.tsx b/app/components/workflow/note-node/index.tsx
index aa8793f..e1691bd 100644
--- a/app/components/workflow/note-node/index.tsx
+++ b/app/components/workflow/note-node/index.tsx
@@ -61,7 +61,7 @@
   return (
     <div
       className={cn(
-        'relative flex flex-col rounded-md border shadow-xs hover:shadow-md',
+        'flex flex-col relative rounded-md shadow-xs border hover:shadow-md',
         THEME_MAP[theme].bg,
         data.selected ? THEME_MAP[theme].border : 'border-black/5',
       )}
@@ -85,12 +85,12 @@
           />
           <div
             className={cn(
-              'h-2 shrink-0 rounded-t-md opacity-50',
+              'shrink-0 h-2 opacity-50 rounded-t-md',
               THEME_MAP[theme].title,
             )}></div>
           {
             data.selected && (
-              <div className='absolute left-1/2 top-[-41px] -translate-x-1/2'>
+              <div className='absolute -top-[41px] left-1/2 -translate-x-1/2'>
                 <NoteEditorToolbar
                   theme={theme}
                   onThemeChange={handleThemeChange}
@@ -103,7 +103,7 @@
               </div>
             )
           }
-          <div className='grow overflow-y-auto px-3 py-2.5'>
+          <div className='grow px-3 py-2.5 overflow-y-auto'>
             <div className={cn(
               data.selected && 'nodrag nopan nowheel cursor-text',
             )}>

--
Gitblit v1.8.0