fix: windows rounded corners

This commit is contained in:
wonfen
2025-01-19 09:47:43 +08:00
parent 4604fe4841
commit 75bb7a4dd7
5 changed files with 10 additions and 12 deletions

View File

@@ -128,14 +128,12 @@ const Layout = () => {
({ palette }) => ({
bgcolor: palette.background.paper,
}),
OS === "linux"
? {
borderRadius: "8px",
border: "2px solid var(--divider-color)",
width: "calc(100vw - 4px)",
height: "calc(100vh - 4px)",
}
: {},
{
borderRadius: "8px",
border: "2px solid var(--divider-color)",
width: "calc(100vw - 4px)",
height: "calc(100vh - 4px)",
},
]}
>
<div className="layout__left">