Set explicit width for result metadata in main view
authorDan Scott <dscott@laurentian.ca>
Wed, 18 Sep 2013 17:36:15 +0000 (13:36 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:41:41 +0000 (18:41 -0400)
We were getting ragged edges for search results with titles longer than
the "# of # available copies..." statement and the placement of the
place hold action buttons, so set an explicit width, and then deset that
in mobile mode.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
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

index c31abd4..fae9f8d 100644 (file)
@@ -710,6 +710,7 @@ tr.result_table_row > td.result_table_title_cell {
 
 .result_metadata {
     float: left;
+    width: 30em;
 }
 
 tr.result_table_row:nth-child(n+2) > td {
@@ -1899,4 +1900,7 @@ a.preflib_change {
         float: left;
         background: [% css_colors.background %];
     }
+    .result_metadata {
+        width: inherit;
+    }
 }