fix(plugins): 悬浮胶囊药丸宽度收至 88px(文本约两字截断)

This commit is contained in:
Rick Ye
2026-09-11 16:15:34 +08:00
parent c117385d01
commit 403b3b3ca1
@@ -166,7 +166,7 @@ export function PluginFloatingCapsule({
type="button" type="button"
title="插件状态(点击展开)" title="插件状态(点击展开)"
onClick={() => setOpen(true)} onClick={() => setOpen(true)}
className="flex h-7 max-w-36 shrink-0 items-center gap-1.5 rounded-full border border-line bg-surface px-2.5 text-[11.5px] text-ink-2 shadow-card transition-colors hover:border-line-strong hover:text-ink" className="flex h-7 max-w-[88px] shrink-0 items-center gap-1.5 rounded-full border border-line bg-surface px-2.5 text-[11.5px] text-ink-2 shadow-card transition-colors hover:border-line-strong hover:text-ink"
> >
<span <span
aria-hidden aria-hidden