fix problem with banner not being centered on keyboard navigation

This commit is contained in:
Mark Eaton
2026-04-02 12:19:17 +00:00
parent d55082e081
commit 38dccc30a9
+8 -1
View File
@@ -1,6 +1,6 @@
<style> <style>
#bannercontainer { #bannercontainer {
width: %100; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
@@ -21,6 +21,13 @@
} }
} }
/* this code makes the <a> tag that holds bannercontainer a block element,
so that it can take up the full width of the screen */
a:has(#bannercontainer) {
display: block;
width: 100%;
}
/* tighten up elements at the top of the AtoZ */ /* tighten up elements at the top of the AtoZ */
#s-lib-public-header-desc { margin-top: -30px; } #s-lib-public-header-desc { margin-top: -30px; }
#s-lib-public-main-searchbar { margin-top: -20px; } #s-lib-public-main-searchbar { margin-top: -20px; }