From bb94440a9a494f281ee82684342a455a4fe791fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zge=20G=C3=BCner?= Date: Thu, 13 Aug 2026 10:18:11 +0200 Subject: [PATCH] fix(mute): smaller font for muted lines (lighter/shorter-looking noise) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Muted lines now use a smaller font (0.78em, line-number 0.85em) so noise recedes further; full size on hover to read it. Row HEIGHT stays var(--line-height) because the virtual scroller assumes a uniform per-line height — true row-shortening would need variable-height virtualization (separate, bigger change). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/renderer/styles.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/renderer/styles.css b/src/renderer/styles.css index a5db998..734b27b 100644 --- a/src/renderer/styles.css +++ b/src/renderer/styles.css @@ -2643,10 +2643,16 @@ button.is-cancelable:hover, .btn.is-cancelable:hover { filter: brightness(1.12); to bring it back to full opacity so it's still readable on demand. */ .log-line.muted { opacity: 0.28; - transition: opacity 0.12s ease; + /* Smaller text so muted "noise" lines read as lighter/shorter. The ROW height stays + var(--line-height) — the virtual scroller needs a uniform per-line height — so this + shrinks the text within the row, not the row itself. Full size + opacity on hover. */ + font-size: 0.78em; + transition: opacity 0.12s ease, font-size 0.1s ease; } +.log-line.muted .line-number { font-size: 0.85em; } .log-line.muted:hover { opacity: 1; + font-size: 1em; } .line-number {