Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(desktop): align selected tab surface edge
Josué2285cf5b7030
diff --git a/desktop-app/test/native/chat-workspace-geometry.fixture.cjs b/desktop-app/test/native/chat-workspace-geometry.fixture.cjsindex 61e495f8d..e758d0d8a 100644--- a/desktop-app/test/native/chat-workspace-geometry.fixture.cjs+++ b/desktop-app/test/native/chat-workspace-geometry.fixture.cjs@@ -139,7 +139,10 @@ app.whenReady().then(async () => {Math.abs(wide.surfaceWidth - wide.workspaceWidth) <= 1,'wide surface stays full width')- assert.ok(wide.surfaceTop <= wide.activeBottom + 1, 'active tab meets the selected surface')+ assert.ok(+ Math.abs(wide.surfaceTop - wide.activeBottom) <= 1,+ 'active tab and selected surface share one border row'+ )assert.equal(wide.activeBorderTop,wide.surfaceBorderTop,@@ -224,7 +227,10 @@ app.whenReady().then(async () => {Math.abs(narrow.surfaceWidth - narrow.workspaceWidth) <= 1,'narrow surface stays full width')- assert.ok(narrow.surfaceTop <= narrow.activeBottom + 1, 'narrow active tab keeps its seam')+ assert.ok(+ Math.abs(narrow.surfaceTop - narrow.activeBottom) <= 1,+ 'narrow active tab and selected surface share one border row'+ )assert.equal(narrow.surfaceBorderLeftStyle, 'solid', 'narrow surface keeps its left border')assert.equal(narrow.surfaceBorderRightStyle, 'solid', 'narrow surface keeps its right border')diff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.cssindex b5eed9775..42658e4a0 100644--- a/desktop-app/ui/src/styles.css+++ b/desktop-app/ui/src/styles.css@@ -14985,7 +14985,7 @@ pre {.chat-view-tab.is-active {background: var(--surface-strong);border: 1px solid var(--chat-view-selected-border);- margin-bottom: -1px;+ margin-top: -1px;position: relative;z-index: 1;}