fix: 修正Linux系统窗口下页面白边和顶部圆角白底 (#3778)

Co-authored-by: Tunglies <selenvow+github@gmail.com>
This commit is contained in:
时雨
2025-06-18 08:28:40 +08:00
committed by GitHub
Unverified
parent c40c1960ed
commit f5315fd737

View File

@@ -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",
}
: {},
]}