From 32b5466ea1db859709bb71463b9a572cd1095ef2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 16 Dec 2013 11:07:16 -0500 Subject: [PATCH] Bug 11405 [4] - Allow long labels to be less word-wrapped The labels in the last fieldset of the inventory tool are a bit "squashed" and are word wrapped to many lines unnecessarily. This patch adds an additional css style for fieldsets of the class "row". If an additional class "wide" as added to the fieldset, it will give the labels more room for display. --- .../intranet-tmpl/prog/en/css/staff-global.css | 3 +++ .../prog/en/modules/tools/inventory.tt | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 1f8ea3f..4204094 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -580,6 +580,9 @@ fieldset.rows fieldset { .yui-b fieldset.rows label, .yui-b fieldset.rows span.label { width: 9em; } +.yui-b fieldset.rows.wide label, .yui-b fieldset.rows.wide span.label { + width: 19em; +} .yui-b fieldset.rows div.hint { margin-left : 10.5em; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 5183f1e..2306ffa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -160,7 +160,7 @@ $(document).ready(function(){ [% END %] -
+
    [% END %] -- 1.7.2.5