From 97d71261a1fa9d1b78ab713365180554acbd79a1 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 --- 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 7c08f5f2e1..03c37129f3 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 a11b705d0c..d798fb92b8 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -112,7 +112,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.43.2