From 4f8139372d712cbeb3a3a1bb9be9b10bc3b0c2d9 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 24 Sep 2013 10:57:56 -0400 Subject: [PATCH] TPAC expert search: wrap labelled fields consistently Use a new class "nonbreaking-wrapper" with display:inline-block to keep label + input fields together, rather than the inline "whitespace: no-wrap" which did not work on Chrome (and oddly enough forced the value field to the next line). 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 | 4 ++++ .../src/templates/opac/parts/advanced/expert.tt2 | 16 ++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index e79506e76f..91b6c4b5fc 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1375,6 +1375,10 @@ table.bookbag-specific { } .save-notes { padding-bottom: 1.5ex; } +.nonbreaking-wrapper { + display: inline-block; +} + /* Moved from semiauto.css */ .adv_global_input_container { border-bottom: none; diff --git a/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 b/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 index 1abc365c81..521220980f 100644 --- a/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 @@ -5,15 +5,19 @@ - + + + + - - - - - + + + + + +