From 9c9a0a6ac40cf3c82ae78d131f36f9e97969d20c Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Tue, 28 Jun 2022 21:40:52 -0400 Subject: [PATCH] tweak carets; reorganize CSS re: dropdowns --- groups/home/LibAnswers-4-js-css.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/groups/home/LibAnswers-4-js-css.html b/groups/home/LibAnswers-4-js-css.html index ed858ed..b55c0e6 100644 --- a/groups/home/LibAnswers-4-js-css.html +++ b/groups/home/LibAnswers-4-js-css.html @@ -213,16 +213,18 @@ a.no-underline { text-decoration: none; } width: 100%; } -/* style the yamm menu */ +/* style the dropdown menus */ .dropdown-margin { padding: 20px 0px; } .bigger-fancy-text { font-size: 1.2em; padding: 5px; } .bigger-icon { font-size: 1.5em; margin-right: 8px; } -.yamm4 { max-width: 460px; } -#yamm4-margins { margin: -15px 0px; } +.caret-text { display: inline-block; } .fancy-caret { display: inline-block; margin-left: 2px; } .open > a > .fancy-caret { margin-bottom: -4px; vertical-align: -4px; display: inline-block; } -.caret-text { display: inline-block; } -.open > a > .caret-text { vertical-align: -0.5px; } +.open > a > .caret-text { vertical-align: -1px; } + +/* additional styling for OneSearch dropdown */ +.yamm4 { max-width: 460px; } +#yamm4-margins { margin: -15px 0px; } /* style footer */ #orange-line {