Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(desktop-app): size the chat drawer header CTA icons to the app standard
Diego Zacarias05d442b7ce9e
diff --git a/desktop-app/ui/src/components/ChatDrawer/ChatDrawer.test.tsx b/desktop-app/ui/src/components/ChatDrawer/ChatDrawer.test.tsxindex 1e43f7f1e..b9ff44946 100644--- a/desktop-app/ui/src/components/ChatDrawer/ChatDrawer.test.tsx+++ b/desktop-app/ui/src/components/ChatDrawer/ChatDrawer.test.tsx@@ -62,6 +62,16 @@ describe('ChatDrawer', () => {expect(onClose).toHaveBeenCalledTimes(1)})+ it('sizes the header CTA icons to the app standard (16px), not the raw viewBox', () => {+ const { container } = renderDrawer()+ const svgs = container.querySelectorAll('.chat-drawer__header-actions .ui-icon-button svg')+ expect(svgs.length).toBe(2)+ svgs.forEach(svg => {+ expect(getComputedStyle(svg as Element).width).toBe('16px')+ expect(getComputedStyle(svg as Element).height).toBe('16px')+ })+ })+it('stays hidden and inert until the embed acknowledges its shrunk bounds', () => {const { container } = renderDrawer({ ready: false })const drawer = container.querySelector('.chat-drawer') as HTMLElementdiff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.cssindex 095c8a785..8c321f9f7 100644--- a/desktop-app/ui/src/styles.css+++ b/desktop-app/ui/src/styles.css@@ -12595,6 +12595,15 @@ pre {flex: 0 0 auto;}+/* The base .ui-icon-button sizes the button but never the glyph — each call+ site sets its own svg size. Match the app's standard 16px icon inside a 30px+ (sm) icon button so the new-chat / close controls line up with the rest of+ the app instead of rendering the raw 24-viewbox artwork oversized. */+.chat-drawer__header-actions .ui-icon-button svg {+ width: 16px;+ height: 16px;+}+.chat-drawer__title {display: block;font-weight: var(--font-weight-semibold);