Use native window controls
All checks were successful
Build Windows App / build-windows (push) Successful in 20m26s

This commit is contained in:
MrSphay
2026-05-01 17:45:16 +02:00
parent fab6888e80
commit 7f5ed594b7
6 changed files with 9 additions and 72 deletions

View File

@@ -155,6 +155,7 @@ textarea:focus {
display: flex;
justify-content: space-between;
overflow: hidden;
padding-right: 138px;
}
.titlebarBrand {
@@ -180,33 +181,6 @@ textarea:focus {
width: 24px;
}
.windowControls {
-webkit-app-region: no-drag;
align-items: stretch;
display: flex;
height: 100%;
}
.windowControls button {
background: transparent;
border-radius: 0;
color: var(--muted);
min-height: 0;
min-width: 44px;
padding: 0;
}
.windowControls button:hover {
background: var(--surface-subtle);
color: var(--text);
transform: none;
}
.windowControls .closeButton:hover {
background: #c93d32;
color: #fff;
}
.toolbar {
align-items: center;
background: var(--surface);