fix: 返回按钮去边框;多行文本框全宽去等宽字体;ComingSoon 兜底误入插件设置页
This commit is contained in:
@@ -955,7 +955,7 @@ function PluginSettingsForm({
|
||||
value={typeof value === 'string' ? value : ''}
|
||||
placeholder={item.placeholder}
|
||||
onChange={(e) => onChange(item.key, e.target.value)}
|
||||
className={`${inputCls} mt-2 w-full resize-y font-mono`}
|
||||
className={`${inputCls} mt-2 w-full resize-y`}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
@@ -1395,7 +1395,7 @@ export function SettingsModal({
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setTab('plugins')}
|
||||
className="mt-0.5 flex shrink-0 items-center gap-1 rounded-control border border-line-strong px-2 py-1 text-[11.5px] text-ink transition-colors hover:bg-hover"
|
||||
className="mt-0.5 flex shrink-0 items-center gap-1 rounded-control px-1.5 py-1 text-[11.5px] text-ink-3 transition-colors hover:bg-hover hover:text-ink"
|
||||
>
|
||||
<LuArrowLeft size={13} />
|
||||
返回
|
||||
@@ -1609,7 +1609,13 @@ export function SettingsModal({
|
||||
/>
|
||||
)}
|
||||
|
||||
{tab !== 'general' && tab !== 'plugins' && tab !== 'model' && tab !== 'prompt' && tab !== 'skills' && tab !== 'commands' && (
|
||||
{tab !== 'general' &&
|
||||
tab !== 'plugins' &&
|
||||
tab !== 'model' &&
|
||||
tab !== 'prompt' &&
|
||||
tab !== 'skills' &&
|
||||
tab !== 'commands' &&
|
||||
!tab.startsWith('plugin:') && (
|
||||
<ComingSoon icon={NAV[1].items.find((i) => i.id === tab)?.icon ?? LuPuzzle} label={meta.title} />
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user