From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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