TPAC: Remove explicit width on "View my list" button user/dbs/tpac_remove_explicit_width
authorDan Scott <dscott@laurentian.ca>
Sat, 4 Aug 2012 15:24:15 +0000 (11:24 -0400)
committerDan Scott <dscott@laurentian.ca>
Sat, 4 Aug 2012 15:24:15 +0000 (11:24 -0400)
commit2f912533d892184bbc33999b90286c45c2d1c836
treeaae6c89adec18030a8d32d6f7c595dcbde7de0be
parentb3a794f4e5a26fb3714665aa5cb15897ddcaefb4
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 <dscott@laurentian.ca>
Open-ILS/src/templates/opac/css/style.css.tt2