TPAC: Remove explicit width on "View my list" button user/dbs/tpac_remove_explicit_width_2_2
authorDan Scott <dscott@laurentian.ca>
Wed, 8 Aug 2012 01:26:32 +0000 (21:26 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 8 Aug 2012 01:26:32 +0000 (21:26 -0400)
.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 <dscott@laurentian.ca>
Open-ILS/web/css/skin/default/opac/style.css

index 6704721..1d52ca6 100644 (file)
@@ -709,7 +709,7 @@ div.format_icon {
     padding-top:6px;
 }
 
-.cached_list_div { width: 111px; height: 25px; }
+.cached_list_div { height: 25px; }
 
 .results_header_div {
        float: left;