Remove explicit widths from My account
authorKathy Lussier <klussier@masslnc.org>
Tue, 24 Sep 2013 19:48:35 +0000 (15:48 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:45:15 +0000 (18:45 -0400)
There were a couple of explicit width in the My Account area that were
causing the account expiration alert to run off the screen. I removed them
and a tweak to the CSS to get the page elements to display
properly.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/myopac/main_base.tt2

index 27d9772..2fff51e 100644 (file)
@@ -809,6 +809,11 @@ div.result_table_utils_cont {
     font-weight: normal;
 }
 
+#acct_sum_block {
+     float:left;
+     clear:left;
+}
+
 .acct_sum_table {
     border-collapse: collapse;
     background: [% css_colors.accent_ultralight %];
index b14572e..420bd3e 100644 (file)
@@ -5,7 +5,7 @@
 
 <div id='myopac_summary_div' style="padding:0px;">
 
-    <div style="width:742px;float:left;">
+    <div style="float:left;">
         <div class="header_middle">[% l('Account Summary') %]</div>
     </div>
 
@@ -48,8 +48,8 @@
     </div>
     [% END %]
 
-    <div style="width:662px;">
-        <div style="float:left;">
+    <div>
+        <div id="acct_sum_block">
             <div style="padding:10px 0px;">
             [%- IF date.format(ctx.parse_datetime(ctx.user.expire_date), '%s') < date.format(date.now , '%s');
                fmt_expire_date = date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT);