From b22d9ed1bf1d062de25b06baeea28ed76265d50d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 19 Sep 2013 10:38:40 -0400 Subject: [PATCH] Respect adv_break with clear: both This keeps the old behaviour, in all ways, but rather than using a specific / arbitrary pixel width it uses clear:both to start a new line for a new adv_break. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells --- Open-ILS/src/templates/opac/css/style.css.tt2 | 1 + Open-ILS/src/templates/opac/parts/config.tt2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index bb4a2f2dca..ecbf8dedbf 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -296,6 +296,7 @@ span.dash_divider { #adv_filter_block { padding: 15px; float: left; + clear: both; } #adv_filter_block_item { float: left; diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index 65861b22b2..bd4f77cd25 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -115,7 +115,7 @@ search.adv_config = [ {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"]}, {adv_label => l("Item Form"), adv_attr => "item_form"}, {adv_label => l("Language"), adv_attr => "item_lang"}, - {adv_label => l("Audience"), adv_attr => ["audience_group", "audience"]}, + {adv_label => l("Audience"), adv_attr => ["audience_group", "audience"], adv_break => 1}, {adv_label => l("Video Format"), adv_attr => "vr_format"}, {adv_label => l("Bib Level"), adv_attr => "bib_level"}, {adv_label => l("Literary Form"), adv_attr => "lit_form"}, -- 2.11.0