From 42435167756fa4b9a62aea7d3edfcc0fba3e0b2d Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Wed, 27 Dec 2017 14:25:09 -0500 Subject: [PATCH] Tweak CSS for gold links navbar To handle a case where the window is smaller than expected and links shift to a second row of content, adjust the CSS so that it can change heights more dynamically for the content contained within. Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/css/style.css.tt2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index aade957dc9..46f54ee589 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -213,8 +213,7 @@ for now until a better color is picked - if needed. font-size: [% css_fonts.size_small %]; font-weight: bold; position: relative; - top:4px; - + overflow: auto; } #header-links a { @@ -228,6 +227,8 @@ for now until a better color is picked - if needed. float:left; margin-right:22px; [%- END %] + margin-top: 4px; + margin-bottom: 6px; } #header-links a:hover { @@ -275,7 +276,7 @@ for now until a better color is picked - if needed. } #gold-links-holder { - height: 24px; + height: auto; background-color: [% css_colors.background_invert %]; } -- 2.11.0