From eded45dc064b3a5f1473d5167261419a090f1057 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 22 Aug 2011 11:33:59 -0400 Subject: [PATCH] Alternate fix for Bug 2534 - Viewing items table on item edit screen requires horizontal scrolling Content-Type: text/plain; charset="utf-8" This patch doesn't eliminate horizontal scrolling, but simplifies the situation: - The left-hand sidebar has been moved below the table of items. - The "overflow:scroll" style has been removed from the table of items. Having overflow set meant that it was often necessary to scroll twice to reach data in the table: once using the scrollbars on the table and again using the page's scrollbars. --- koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 13 ++++++++++++- .../intranet-tmpl/prog/en/css/staff-global.css | 3 --- .../prog/en/modules/cataloguing/additem.tt | 19 ++++++++++--------- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css index 26a8066..3cf2e88 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css @@ -133,4 +133,15 @@ a.tagnum { .linktools a:first-child { border-bottom: 1px solid #DDD; } .linktools a:hover { background-color: #FFC; } .subfield_controls { margin : 0 .5em; } -.readonly { border-width : 1px; border-style: inset; padding-left : 15px; background: #EEE url(../../img/locked.png) center left no-repeat; width:29em; } \ No newline at end of file +.readonly { border-width : 1px; border-style: inset; padding-left : 15px; background: #EEE url(../../img/locked.png) center left no-repeat; width:29em; } + +#cataloguing_additem_itemlist { + margin-bottom : 1em; +} +.yui-gf div.first { + width : 19%; +} + +.yui-gf .yui-u { + width: 79.2%; +} \ No newline at end of file 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 36cef19..8b2b8f5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1896,9 +1896,6 @@ img.spinner { vertical-align: middle; padding-right: 0.3em; } -#cataloguing_additem_itemlist div { - overflow : scroll; -} ul.budget_hierarchy { margin-left: 0px; padding-left: 0px; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 2bd5ab5..efdda6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -178,12 +178,10 @@ function set_to_today(id, force) { › Items -
+
-
-

Items for [% title |html %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %])

@@ -218,7 +216,11 @@ function set_to_today(id, force) {
[% END %]
- +
+
+[% INCLUDE 'biblio-view-menu.inc' %] +
+
@@ -273,17 +275,16 @@ function set_to_today(id, force) { [% END %] - +
-
-
-
-[% INCLUDE 'biblio-view-menu.inc' %] +
+
+
[% INCLUDE 'intranet-bottom.inc' %] -- 1.7.3