fix: windows rounded corners

This commit is contained in:
wonfen 2025-01-19 09:47:43 +08:00
parent 3ea0d20e2c
commit 204bf43b9a
5 changed files with 10 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "clash-verge", "name": "clash-verge",
"version": "2.0.3", "version": "2.0.4-alpha",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"scripts": { "scripts": {
"dev": "cross-env RUST_BACKTRACE=1 tauri dev", "dev": "cross-env RUST_BACKTRACE=1 tauri dev",

2
src-tauri/Cargo.lock generated
View File

@ -1010,7 +1010,7 @@ dependencies = [
[[package]] [[package]]
name = "clash-verge" name = "clash-verge"
version = "2.0.3" version = "2.0.4-alpha"
dependencies = [ dependencies = [
"aes-gcm", "aes-gcm",
"anyhow", "anyhow",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "clash-verge" name = "clash-verge"
version = "2.0.3" version = "2.0.4-alpha"
description = "clash verge" description = "clash verge"
authors = ["zzzgydi", "wonfen", "MystiPanda"] authors = ["zzzgydi", "wonfen", "MystiPanda"]
license = "GPL-3.0-only" license = "GPL-3.0-only"

View File

@ -25,7 +25,7 @@
"devUrl": "http://localhost:3000/" "devUrl": "http://localhost:3000/"
}, },
"productName": "Clash Verge", "productName": "Clash Verge",
"version": "2.0.3", "version": "2.0.4-alpha",
"identifier": "io.github.clash-verge-rev.clash-verge-rev", "identifier": "io.github.clash-verge-rev.clash-verge-rev",
"plugins": { "plugins": {
"updater": { "updater": {

View File

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