mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:53:44 +08:00
parent
71e6c02897
commit
ab6b796ce2
@ -59,7 +59,3 @@ body {
|
|||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-tauri-drag-region] {
|
|
||||||
app-region: drag;
|
|
||||||
}
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
// $maxLogo: 100px;
|
// $maxLogo: 100px;
|
||||||
|
|
||||||
.the-logo {
|
.the-logo {
|
||||||
|
app-region: drag;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1 0 58px;
|
flex: 1 0 58px;
|
||||||
// width: 100%;
|
// width: 100%;
|
||||||
@ -101,6 +102,9 @@
|
|||||||
justify-content: end;
|
justify-content: end;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
.the-dragbar {
|
||||||
|
app-region: drag;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.the-content {
|
.the-content {
|
||||||
|
@ -157,7 +157,12 @@ const Layout = () => {
|
|||||||
|
|
||||||
<div className="layout__right">
|
<div className="layout__right">
|
||||||
{
|
{
|
||||||
<div className="the-bar" data-tauri-drag-region="true">
|
<div className="the-bar">
|
||||||
|
<div
|
||||||
|
className="the-dragbar"
|
||||||
|
data-tauri-drag-region="true"
|
||||||
|
style={{ width: "100%" }}
|
||||||
|
></div>
|
||||||
{OS !== "macos" && <LayoutControl />}
|
{OS !== "macos" && <LayoutControl />}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user