Keep window controls outside drag region
All checks were successful
Build Windows App / build-windows (push) Successful in 19m2s
All checks were successful
Build Windows App / build-windows (push) Successful in 19m2s
This commit is contained in:
@@ -147,7 +147,6 @@ textarea:focus {
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
-webkit-app-region: drag;
|
||||
align-items: center;
|
||||
background: color-mix(in srgb, var(--surface) 92%, var(--bg));
|
||||
border: 1px solid var(--border);
|
||||
@@ -157,6 +156,15 @@ textarea:focus {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.titlebarDrag {
|
||||
-webkit-app-region: drag;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.titlebarBrand {
|
||||
align-items: center;
|
||||
color: var(--muted);
|
||||
@@ -186,9 +194,12 @@ textarea:focus {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
padding: 3px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.windowControls button {
|
||||
-webkit-app-region: no-drag;
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 6px;
|
||||
|
||||
Reference in New Issue
Block a user