fix(electrobun): replace sidebar onmousedown with inset drag zone (10px from edges)

This commit is contained in:
Hibryda 2026-03-25 19:09:20 +01:00
parent 561bca1133
commit d9a2ea6500
2 changed files with 11 additions and 2 deletions

View file

@ -83,8 +83,14 @@ html, body {
flex-direction: column;
align-items: center;
padding: 0.5rem 0;
padding-left: 10px; /* Leave space for native resize edge (8px + margin) */
gap: 0.25rem;
position: relative;
}
.sidebar-drag-zone {
position: absolute;
top: 10px; left: 10px; right: 0; bottom: 10px;
cursor: grab;
z-index: 0; /* behind sidebar content */
}
.sidebar-icon {