+ {/* 标签(右键菜单:关闭/关闭其他)。文字形 tag,与下方网页 tab 的片状样式区分 */}
+
{tabs.map((tab) => {
const isActive = tab.id === current?.id
return (
@@ -196,13 +196,11 @@ export function SidePanel({
tabId: tab.id
})
}}
- className={`group flex h-7 shrink-0 items-center gap-1.5 rounded px-2 text-left text-[11.5px] transition-colors ${
- isActive
- ? 'bg-accent-tint text-accent-ink'
- : 'text-zinc-500 hover:bg-zinc-100 hover:text-zinc-700'
+ className={`group flex h-6 shrink-0 items-center gap-1.5 rounded px-1.5 text-[12px] transition-colors ${
+ isActive ? 'font-medium text-zinc-700' : 'text-zinc-500 hover:text-zinc-700'
}`}
>
-
+
{tab.title}
diff --git a/apps/desktop/src/renderer/src/components/browser/BrowserPanel.tsx b/apps/desktop/src/renderer/src/components/browser/BrowserPanel.tsx
index d179150..53e9a1a 100644
--- a/apps/desktop/src/renderer/src/components/browser/BrowserPanel.tsx
+++ b/apps/desktop/src/renderer/src/components/browser/BrowserPanel.tsx
@@ -322,10 +322,13 @@ export function BrowserPanel(props: BrowserPanelProps): JSX.Element {
)}
- {/* 页面区域:原生 WebContentsView 对齐到这里的矩形 */}
+ {/* 页面区域:原生 WebContentsView 对齐到这里的矩形。
+ * 暂停期(面板/页签菜单打开)保持纯白,不闪空态图标 */}
{showSlot && activeTab ? (
+ ) : activeTab ? (
+
) : (