From 03361c96806cb699c742e4ff9f6bd5f2b6de7890 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Fri, 6 Nov 2026 10:50:36 -0500 Subject: [PATCH] fix: tab content no longer slides under the tab bar at a higher UI scale (#33830) --- src/lib/components/chat/ChatTabs.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/ChatTabs.svelte b/src/lib/components/chat/ChatTabs.svelte index 16dcfe3eb8..cfd5591703 100644 --- a/src/lib/components/chat/ChatTabs.svelte +++ b/src/lib/components/chat/ChatTabs.svelte @@ -129,7 +129,7 @@ let tabs = emptyTabs(); const paneStyle = (rect: PanelRect, header = 0) => - `position:absolute;left:${rect.left * 100}%;top:calc(100% * ${rect.top} + ${header}px);width:${rect.width * 100}%;height:calc(100% * ${rect.height} - ${header}px);`; + `position:absolute;left:${rect.left * 100}%;top:calc(100% * ${rect.top} + ${header}px * var(--app-text-scale, 1));width:${rect.width * 100}%;height:calc(100% * ${rect.height} - ${header}px * var(--app-text-scale, 1));`; const focusGroup = (id: string) => { const group = tabs.groups.find((group) => group.id === id); if (group?.activeId) tabs = activateTab(tabs, group.activeId);