fix(electrobun): replace sidebar onmousedown with inset drag zone (10px from edges)
This commit is contained in:
parent
561bca1133
commit
d9a2ea6500
2 changed files with 11 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue