From: Dan Scott Date: Wed, 18 Sep 2013 14:14:25 +0000 (-0400) Subject: Result actions use width when available X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2b9c27c9de05c2b4e1f35a9b4f8b0e45c7eb7f05;p=working%2FEvergreen.git Result actions use width when available Float the actions to the right side when enough width is available, otherwise push them under the result metadata in width-constrained viewports. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 41a4e4e939..00d7cb41bd 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -708,6 +708,10 @@ tr.result_table_row > td.result_table_title_cell { vertical-align: top; } +.result_metadata { + float: left; +} + tr.result_table_row:nth-child(n+2) > td { border-top: 1px solid [% css_colors.accent_lighter2 %]; } @@ -733,6 +737,7 @@ tr.result_table_row > td.result_table_pic_header { div.result_table_utils_cont { text-align:left; + float: left; } .icon_text { diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index bca53ab3a2..4edda2e240 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -45,6 +45,7 @@ [% END %] +