TPAC: Align results pagination in mobile mode
authorDan Scott <dscott@laurentian.ca>
Tue, 24 Sep 2013 02:33:09 +0000 (22:33 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:45:12 +0000 (18:45 -0400)
The results summary and results paginator had been using hard-coded
pixel values for the padding-left value; amusingly, they were different
values. Now that the paginator is part of the CSS stylesheet, switch to
using a standard 1 em so that we can also respond to the chosen font
size of both the stylesheet and the user's preference.

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 680ba2d..ea6dd7c 100644 (file)
@@ -729,7 +729,8 @@ tr.result_table_row > td.result_table_pic_header {
 }
 
 .result_number {
 }
 
 .result_number {
-    padding-left:15px; white-space: nowrap; width: 320px;
+    padding-left: 1em;
+    white-space: nowrap;
 }
 
 .result_count_number {
 }
 
 .result_count_number {