From c67d831efdcabb11467ba488e151570f13ebb084 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 5 Oct 2025 22:22:29 +0100 Subject: [PATCH] fix(layout): remove all padding/margin between collapsed sidebar and main panel --- src/index.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 4468af33..e243a7aa 100644 --- a/src/index.css +++ b/src/index.css @@ -216,7 +216,7 @@ body { display: flex; align-items: flex-start; justify-content: flex-start; - padding: 0.5rem 0.5rem 0 0.5rem; + padding: 0.5rem 0 0 0.5rem; background: transparent; border: none; } @@ -505,6 +505,15 @@ body { contain: layout style; } +/* Remove padding when sidebar is collapsed for zero gap */ +.three-pane.sidebar-collapsed .pane.main { + padding-left: 0; +} + +.three-pane.sidebar-collapsed.highlights-collapsed .pane.main { + padding-left: 0; +} + .pane.highlights { overflow-y: auto; height: 100%;