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/variable-option.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/base/prompt-editor/plugins/component-picker-block/variable-option.tsx b/app/components/base/prompt-editor/plugins/component-picker-block/variable-option.tsx index 20c0376..ae0cdfb 100644 --- a/app/components/base/prompt-editor/plugins/component-picker-block/variable-option.tsx +++ b/app/components/base/prompt-editor/plugins/component-picker-block/variable-option.tsx @@ -2,8 +2,8 @@ type VariableMenuItemProps = { title: string - icon?: React.JSX.Element - extraElement?: React.JSX.Element + icon?: JSX.Element + extraElement?: JSX.Element isSelected: boolean queryString: string | null onClick: () => void @@ -38,7 +38,7 @@ return ( <div className={` - flex h-6 cursor-pointer items-center rounded-md px-3 hover:bg-state-base-hover + flex items-center px-3 h-6 rounded-md hover:bg-state-base-hover cursor-pointer ${isSelected && 'bg-state-base-hover'} `} tabIndex={-1} @@ -48,7 +48,7 @@ <div className='mr-2'> {icon} </div> - <div className='grow truncate text-[13px] text-text-secondary' title={title}> + <div className='grow text-[13px] text-text-secondary truncate' title={title}> {before} <span className='text-text-accent'>{middle}</span> {after} -- Gitblit v1.8.0