From cf876033f69e422d89f178f67299d1858a2ef54b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 15 Jun 2026 15:21:19 -0400 Subject: [PATCH] Fix join-mode menulist clipping at top of Advanced Search --- scss/elements/_zoteroSearch.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scss/elements/_zoteroSearch.scss b/scss/elements/_zoteroSearch.scss index 49c9fa3c1d..5c711a471f 100644 --- a/scss/elements/_zoteroSearch.scss +++ b/scss/elements/_zoteroSearch.scss @@ -1,6 +1,12 @@ zoterosearch { flex-direction: column; padding-inline: 8px; + // Block padding lives inside the scroll container (like the inline padding) + // so the top/bottom focus rings -- e.g. the join-mode menulist in the caption + // -- aren't clipped by overflow: auto. The negative margin cancels it so the + // surrounding spacing is unchanged. + padding-block: 8px; + margin-block: -8px; gap: 8px; overflow: auto; max-height: 33vh;