From dc439dcb7bdcf27b45f4d51c3c4f79d19131120b 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 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. The NEKLS catalogers also extend their thanks for this fix. Signed-off-by: Liz Rea Signed-off-by: Ian Walls Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/css/addbiblio.css | 13 ++++++++++++- .../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 26a806661a..3cf2e88fcc 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 36cef19b15..8b2b8f5296 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 2bd5ab5fbe..efdda6a9df 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' %] -- 2.39.5