fix: drag error

#643
This commit is contained in:
MystiPanda committed 2024-03-16 20:37:39 +08:00
1 parent 82246fd9c7
commit e2498b3e91
3 files changed
+10 -5

No files matched your search

-4
View File
@@ -59,7 +59,3 @@ body {
-moz-user-select: none;
-ms-user-select: none;
}
[data-tauri-drag-region] {
app-region: drag;
}
+4
View File
@@ -28,6 +28,7 @@
// $maxLogo: 100px;
.the-logo {
app-region: drag;
position: relative;
flex: 1 0 58px;
// width: 100%;
@@ -101,6 +102,9 @@
justify-content: end;
box-sizing: border-box;
z-index: 2;
.the-dragbar {
app-region: drag;
}
}
.the-content {
+6 -1
View File
@@ -157,7 +157,12 @@ const Layout = () => {
<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 />}
</div>
}