One of the table rows was being inserted into every result simply to
provide a border that is better handled via CSS on the existing useful
elements. Begone.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
[% FOR rec IN ctx.records;
attrs = {marc_xml => rec.marc_xml};
PROCESS get_marc_attrs args=attrs %]
- <tr>
- <td class='result_table_row' align='left' width='100%'>
+ <tr class="result_table_row">
+ <td class="result_table_row" align='left' width='100%'>
<table cellpadding="0" cellspacing="0" class='result_table_subtable'>
<tbody class='result_table_subtbody'>
<tr name='counts_row'>
</td>
</tr>
[%- END %]
- <tr><td colspan="5"><div style="height:0px;border-top:1px solid #b7b7b7;border-bottom:1px solid #d4d4d4;margin:15px 0px;"></div></td></tr>
</tbody>
</table>
</td>
margin-top: 1em;
}
+tr.result_table_row td.result_table_row {
+ border-bottom:1px solid #d4d4d4;
+}
+
.result_numbers {
font-size: 11px; padding-left:15px; white-space: nowrap; width: 320px;
}
-.result_table_subtable { width: 100%; border-collapse: collapse; border: 0; }
+.result_table_subtable {
+ width: 100%;
+ padding-top: 1em;
+}