From eac313f2f96b2c16a08a308355e495e61e5fb25d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Sat, 4 Aug 2012 11:24:15 -0400 Subject: [PATCH] TPAC: Remove explicit width on "View my list" button .cached_list_div, which defines the style for the "View my list" button on the TPAC button bar once an item has been added to a temporary list, is given an explicit width of 111px, which is problematic for a number of reasons: 1. If the font-size of the base style is increased, then the text will likely wrap. 2. Translations tend to be longer than English, and indeed in fr-CA "Afficher ma liste" ends up wrapping onto a second line, which makes the button bar look weird. Accordingly, remove the explicit "width:111px" from the style definition for .cached_list_div. Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/css/style.css.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 07300f8058..7aef34844b 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -593,7 +593,7 @@ div.format_icon { padding-top:6px; } -.cached_list_div { width: 111px; height: 25px; } +.cached_list_div { height: 25px; } .results_header_div { float: left; -- 2.43.2