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;