From f71b99b9c4247c8f68958d32ffbe2eb2e8053a8e Mon Sep 17 00:00:00 2001 From: Ken Lui <116421546+kenlhlui@users.noreply.github.com> Date: Tue, 13 Oct 2026 17:25:38 -0400 Subject: [PATCH] fix: gap too wide between 'Search syntax' and 'Search guides' box --- assets/css/search.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/css/search.css b/assets/css/search.css index 1430a43..fff3780 100644 --- a/assets/css/search.css +++ b/assets/css/search.css @@ -115,10 +115,16 @@ body { margin: 0 auto; } +/* No bottom margin: the sticky bar's own padding is the gap below the header. + Stacked with the last line's default margin, it made "Search syntax" read as + detached from the search box it explains. */ header { text-align: center; color: var(--on-navy); - margin-bottom: 20px; +} + +header > :last-child { + margin-bottom: 0; } header h1 {