From 94374e7de236657e2941b7a4aa31c89e17d1ecab Mon Sep 17 00:00:00 2001 From: Konv Suu <2583695112@qq.com> Date: Tue, 2 Sep 2025 19:09:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tabs=20=E9=AB=98=E5=BA=A6=E4=B8=8D?= =?UTF-8?q?=E8=B6=B3=E5=AF=BC=E8=87=B4=20border=20=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E5=8D=A0=E6=BB=A1=E7=88=B6=E5=85=83=E7=B4=A0?= =?UTF-8?q?=20(#9780)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: tabs 高度不足导致 border 样式不能占满父元素 * Revert --- src/renderer/src/pages/home/Tabs/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/src/pages/home/Tabs/index.tsx b/src/renderer/src/pages/home/Tabs/index.tsx index 4fba643703..f7314d746a 100644 --- a/src/renderer/src/pages/home/Tabs/index.tsx +++ b/src/renderer/src/pages/home/Tabs/index.tsx @@ -155,9 +155,12 @@ const Container = styled.div` flex-direction: column; max-width: var(--assistants-width); min-width: var(--assistants-width); + height: calc(100vh - var(--navbar-height)); + &.right { height: calc(100vh - var(--navbar-height)); } + [navbar-position='left'] & { background-color: var(--color-background); }