From 0dd402e2829d4061914fe64106e8606131e1aeed Mon Sep 17 00:00:00 2001 From: Hibryda Date: Wed, 25 Mar 2026 19:41:04 +0100 Subject: [PATCH] fix(electrobun): sidebar AGOR non-selectable, larger font, settings clickable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AGOR title: pointer-events:none (clicks pass to drag zone), user-select:none, font-size 1.25rem→1.5rem (20% larger), removed cursor:grab - Settings button: z-index:1 (above drag zone), clickable again - Group buttons: z-index:1 (above drag zone) - Drag zone stays z-index:0 as catch-all behind interactive elements --- ui-electrobun/src/mainview/App.svelte | 6 ++++-- ui-electrobun/src/mainview/app.css | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui-electrobun/src/mainview/App.svelte b/ui-electrobun/src/mainview/App.svelte index 4186136..5c3218d 100644 --- a/ui-electrobun/src/mainview/App.svelte +++ b/ui-electrobun/src/mainview/App.svelte @@ -666,13 +666,13 @@ transform: rotate(180deg); font-family: "Inter", system-ui, sans-serif; font-weight: 900; - font-size: 1.25rem; + font-size: 1.5rem; letter-spacing: 0.2em; color: var(--ctp-overlay0); padding: 1rem 0; user-select: none; + pointer-events: none; flex-shrink: 0; - cursor: grab; } .sidebar-groups { @@ -684,6 +684,8 @@ padding: 0.25rem 0; border-bottom: 1px solid var(--ctp-surface0); margin-bottom: 0.125rem; + position: relative; + z-index: 1; /* Above the drag zone */ } .sidebar-spacer { diff --git a/ui-electrobun/src/mainview/app.css b/ui-electrobun/src/mainview/app.css index 8933221..1a88a22 100644 --- a/ui-electrobun/src/mainview/app.css +++ b/ui-electrobun/src/mainview/app.css @@ -106,6 +106,8 @@ html, body { justify-content: center; transition: background 0.15s, color 0.15s; padding: 0; + position: relative; + z-index: 1; /* Above the drag zone */ } .sidebar-icon:hover {