From ea053627fedd6efc1a9009a0ce7fdf9b4c90b41f Mon Sep 17 00:00:00 2001 From: Joshua Cold Date: Fri, 23 Oct 2026 10:57:24 -0600 Subject: [PATCH 1/2] fix(noice): even spacing in tabs, without room for an idle loading dot Co-Authored-By: Claude Opus 5.5 (1M context) --- noice/lua/noice/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/noice/lua/noice/init.lua b/noice/lua/noice/init.lua index e2bde24..e5ef6d1 100644 --- a/noice/lua/noice/init.lua +++ b/noice/lua/noice/init.lua @@ -82,7 +82,7 @@ body:not(.vertical) .tab:nth-child(even) { background: none; color: var(--noice-muted); border-radius: 5px; - padding: 3px 14px 3px 10px; + padding: 3px 12px; } body:not(.vertical) .tab.selected { background: var(--noice-selected); @@ -91,7 +91,9 @@ body:not(.vertical) .tab.selected { } body:not(.vertical) .tab.pinned:not(.selected) { background: none; color: var(--pinned-fg); } /* A pinned tab shrunk to its icon (tabs.pinned.shrink) keeps riptide's width. */ -body:not(.vertical) .tab.shrunk { flex: 0 0 auto; padding: 3px 10px; } +body:not(.vertical) .tab.shrunk { flex: 0 0 auto; padding: 3px 8px; } +/* The dot only while loading or failed, so an idle tab's room is even. */ +body:not(.vertical) .tab:not(.loading):not(.error) .indicator { display: none; } body:not(.vertical) .tab .indicator { width: 6px; height: 6px; From 16d7c120abe0491318999147ae2bf0e2be299b82 Mon Sep 17 00:00:00 2001 From: Joshua Cold Date: Fri, 23 Oct 2026 11:00:08 -0600 Subject: [PATCH 2/2] test(noice): check a refused accent by its own text, now noice hides the idle dot with display: none Co-Authored-By: Claude Opus 5.5 (1M context) --- noice/test/noice_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noice/test/noice_spec.lua b/noice/test/noice_spec.lua index dc70217..6a684be 100644 --- a/noice/test/noice_spec.lua +++ b/noice/test/noice_spec.lua @@ -23,7 +23,7 @@ describe("noice", function() it("refuses an accent that isn't a color", function() clear_messages() noice().setup({ accent = "red; } body { display: none" }) - assert.falsy(noice().css():find("display: none", 1, true)) + assert.falsy(noice().css():find("red; } body", 1, true)) wait_until(function() return (last_message() or ""):find("accent is a CSS color", 1, true) ~= nil end) end)