From dc82f7457923666e3bbab66c1771a8d51813e4c1 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 2c4011f..a392574 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -603,6 +603,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 9498220..a8d0ab1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -193,7 +193,7 @@ $(document).ready(function(){ [% END %] -
+
    [% END %] -- 1.7.2.5