From a4a1ffd763b82c156bd93d389699850ea1e3c192 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 22 Jun 2021 11:46:55 +0200 Subject: [PATCH] Bug 28611: Fix width to 50% for additem form elements This patch suggests to set the width of select and input to 50% Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/css/addbiblio.css | 6 +++--- .../prog/en/modules/cataloguing/additem.tt | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css index 40bf8b9c92..3c6974fb5c 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css @@ -178,8 +178,8 @@ a.tagnum { } .input_marceditor { - float:left; - width:30em; + float: left; + width: 50%; } #cat_addbiblio .input_marceditor, #authoritytabs .input_marceditor { @@ -215,7 +215,7 @@ a.tagnum { } #cataloguing_additem_newitem .input_marceditor { - width: auto; + width: 50%; } #cataloguing_additem_newitem textarea.input_marceditor { 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 046a658805..bfecf0016c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -165,12 +165,12 @@ [% SET mv = ite.marc_value %] [% IF ( mv.type == 'hidden' ) %] - + [% ELSIF ( mv.type == 'select' ) %] [% IF ( mv.readonly || ite.IS_RETURN_CLAIM ) %] - [% ELSE %] - [% END %] [% FOREACH aval IN mv.values %] [% IF aval == mv.default %] @@ -186,17 +186,17 @@ [% ELSIF ( mv.type == 'text_auth' ) %] [% IF mv.readonly %] - + [% ELSE %] - + [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %] ... [% END %] [% ELSIF ( mv.type == 'text_plugin' ) %] [% IF mv.readonly %] - + [% ELSE %] - + [% IF ( mv.nopopup ) %] ... [% ELSE %] @@ -206,9 +206,9 @@ [% END %] [% ELSIF ( mv.type == 'text' ) %] [% IF mv.readonly %] - + [% ELSE %] - + [% END %] [% ELSIF ( mv.type == 'textarea' ) %] [% IF mv.readonly %] -- 2.20.1