From f5315fd7373a56eccbcde2f69116c35f271ac458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E9=9B=A8?= Date: Wed, 18 Jun 2025 08:28:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3Linux=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E7=AA=97=E5=8F=A3=E4=B8=8B=E9=A1=B5=E9=9D=A2=E7=99=BD?= =?UTF-8?q?=E8=BE=B9=E5=92=8C=E9=A1=B6=E9=83=A8=E5=9C=86=E8=A7=92=E7=99=BD?= =?UTF-8?q?=E5=BA=95=20(#3778)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tunglies --- src/pages/_layout.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index d578f235..c50c59c0 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -500,6 +500,10 @@ const Layout = () => { square elevation={0} className={`${OS} layout`} + style={{ + borderTopLeftRadius: "0px", + borderTopRightRadius: "0px" + }} onContextMenu={(e) => { if ( OS === "windows" && @@ -517,8 +521,8 @@ const Layout = () => { ? { borderRadius: "8px", border: "1px solid var(--divider-color)", - width: "calc(100vw - 4px)", - height: "calc(100vh - 4px)", + width: "100vw", + height: "100vh", } : {}, ]}