fix(electrobun): clear min-size before each resize drag (enables shrink)
WebKitWebView re-propagates content size as minimum on every layout cycle, overriding the one-time init fix. Now clearMinSizeTree() runs right before each gtk_window_begin_resize_drag call, allowing resize-in (shrink). Also removed red debug background from resize handles.
This commit is contained in:
parent
d84feb6c67
commit
290ae8ef86
2 changed files with 39 additions and 2 deletions
|
|
@ -619,7 +619,7 @@
|
|||
}
|
||||
|
||||
/* ── Resize handles — 6px edges, 12px corners, fixed on viewport ── */
|
||||
.rz { position: fixed; z-index: 9999; background: rgba(255,0,0,0.15); }
|
||||
.rz { position: fixed; z-index: 9999; }
|
||||
.rz-n { top: 0; left: 12px; right: 12px; height: 6px; cursor: n-resize; }
|
||||
.rz-s { bottom: 0; left: 12px; right: 12px; height: 6px; cursor: s-resize; }
|
||||
.rz-e { right: 0; top: 12px; bottom: 12px; width: 6px; cursor: e-resize; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue