From: Javier Sagredo Date: Wed, 6 May 2026 23:16:52 +0000 (+0200) Subject: Move Focus chips and Mark-orphans toggle to the side panel X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=ee17ffcfb2ee4148ebe34ccccf6827da8f85917e;p=classgraph.git Move Focus chips and Mark-orphans toggle to the side panel The topbar got cramped between the title, focus chips, orphan toggle, and the search input. Moves these two pieces — the focus chips block and the orphan-marker checkbox — into the side panel, restyled as panel blocks with consistent borders. The topbar keeps just back, title, and search. Co-Authored-By: Claude Opus 4.7 (1M context) --- diff --git a/data/viewer.css b/data/viewer.css index f575c55..69ead97 100644 --- a/data/viewer.css +++ b/data/viewer.css @@ -202,14 +202,19 @@ body { display: flex; } #back-button[hidden] { display: none; } #orphan-toggle-wrap { - display: inline-flex; + display: flex; align-items: center; - gap: 4px; - font-size: 11px; + gap: 6px; + margin: 0 0 12px; + padding: 8px 12px; + font-size: 12px; color: #6b7280; user-select: none; cursor: pointer; white-space: nowrap; + background: #fff; + border: 1px solid #e5e7eb; + border-radius: 6px; } #orphan-toggle-wrap input { margin: 0; } @@ -218,8 +223,11 @@ body { display: flex; } align-items: center; flex-wrap: wrap; gap: 6px; - flex: 1 1 auto; - min-width: 0; + margin: 0 0 12px; + padding: 8px 12px; + background: #eff6ff; + border: 1px solid #bfdbfe; + border-radius: 6px; } #pin-chips[hidden] { display: none; } #pin-label { diff --git a/data/viewer.html b/data/viewer.html index 5240767..d1e90d6 100644 --- a/data/viewer.html +++ b/data/viewer.html @@ -11,15 +11,6 @@

classgraph

- -
@@ -74,6 +65,15 @@ + +
Editor link

Make every Defined at line in the right-hand panel a clickable link that jumps to the file at the right line in your editor.