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/base/prompt-editor/plugins/component-picker-block/hooks.tsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app/components/base/prompt-editor/plugins/component-picker-block/hooks.tsx b/app/components/base/prompt-editor/plugins/component-picker-block/hooks.tsx
index 7332a0d..f39d56f 100644
--- a/app/components/base/prompt-editor/plugins/component-picker-block/hooks.tsx
+++ b/app/components/base/prompt-editor/plugins/component-picker-block/hooks.tsx
@@ -44,7 +44,7 @@
       render: ({ isSelected, onSelect, onSetHighlight }) => {
         return <PromptMenuItem
           title={t('common.promptEditor.context.item.title')}
-          icon={<File05 className='h-4 w-4 text-[#6938EF]' />}
+          icon={<File05 className='w-4 h-4 text-[#6938EF]' />}
           disabled={!contextBlock.selectable}
           isSelected={isSelected}
           onClick={onSelect}
@@ -68,7 +68,7 @@
           return (
             <PromptMenuItem
               title={t('common.promptEditor.query.item.title')}
-              icon={<UserEdit02 className='h-4 w-4 text-[#FD853A]' />}
+              icon={<UserEdit02 className='w-4 h-4 text-[#FD853A]' />}
               disabled={!queryBlock.selectable}
               isSelected={isSelected}
               onClick={onSelect}
@@ -94,7 +94,7 @@
           return (
             <PromptMenuItem
               title={t('common.promptEditor.history.item.title')}
-              icon={<MessageClockCircle className='h-4 w-4 text-[#DD2590]' />}
+              icon={<MessageClockCircle className='w-4 h-4 text-[#DD2590]' />}
               disabled={!historyBlock.selectable
               }
               isSelected={isSelected}
@@ -133,7 +133,7 @@
           return (
             <VariableMenuItem
               title={item.value}
-              icon={<BracketsX className='h-[14px] w-[14px] text-text-accent' />}
+              icon={<BracketsX className='w-[14px] h-[14px] text-text-accent' />}
               queryString={queryString}
               isSelected={isSelected}
               onClick={onSelect}
@@ -162,7 +162,7 @@
         return (
           <VariableMenuItem
             title={t('common.promptEditor.variable.modal.add')}
-            icon={<BracketsX className='h-[14px] w-[14px] text-text-accent' />}
+            icon={<BracketsX className='w-[14px] h-[14px] text-text-accent' />}
             queryString={queryString}
             isSelected={isSelected}
             onClick={onSelect}
@@ -206,7 +206,7 @@
               title={item.name}
               icon={
                 <AppIcon
-                  className='!h-[14px] !w-[14px]'
+                  className='!w-[14px] !h-[14px]'
                   icon={item.icon}
                   background={item.icon_background}
                 />
@@ -240,8 +240,8 @@
         return (
           <VariableMenuItem
             title={t('common.promptEditor.variable.modal.addTool')}
-            icon={<Tool03 className='h-[14px] w-[14px] text-text-accent' />}
-            extraElement={< ArrowUpRight className='h-3 w-3 text-text-tertiary' />}
+            icon={<Tool03 className='w-[14px] h-[14px] text-text-accent' />}
+            extraElement={< ArrowUpRight className='w-3 h-3 text-text-tertiary' />}
             queryString={queryString}
             isSelected={isSelected}
             onClick={onSelect}

--
Gitblit v1.8.0