From: Dan Scott Date: Thu, 19 Sep 2013 14:38:40 +0000 (-0400) Subject: Respect adv_break with clear: both X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=97d71261a1fa9d1b78ab713365180554acbd79a1;p=working%2FEvergreen.git 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 --- 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"},