mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: 修正Linux系统窗口下页面白边和顶部圆角白底 (#3778)
Co-authored-by: Tunglies <selenvow+github@gmail.com>
This commit is contained in:
@@ -500,6 +500,10 @@ const Layout = () => {
|
|||||||
square
|
square
|
||||||
elevation={0}
|
elevation={0}
|
||||||
className={`${OS} layout`}
|
className={`${OS} layout`}
|
||||||
|
style={{
|
||||||
|
borderTopLeftRadius: "0px",
|
||||||
|
borderTopRightRadius: "0px"
|
||||||
|
}}
|
||||||
onContextMenu={(e) => {
|
onContextMenu={(e) => {
|
||||||
if (
|
if (
|
||||||
OS === "windows" &&
|
OS === "windows" &&
|
||||||
@@ -517,8 +521,8 @@ const Layout = () => {
|
|||||||
? {
|
? {
|
||||||
borderRadius: "8px",
|
borderRadius: "8px",
|
||||||
border: "1px solid var(--divider-color)",
|
border: "1px solid var(--divider-color)",
|
||||||
width: "calc(100vw - 4px)",
|
width: "100vw",
|
||||||
height: "calc(100vh - 4px)",
|
height: "100vh",
|
||||||
}
|
}
|
||||||
: {},
|
: {},
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user