Bugzilla – Attachment 15152 Details for
Bug 9571
Fix width for textareas in Edit Item screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9571 - Fix width for textareas in Edit Item screen
0001-Bug-9571-Fix-width-for-textareas-in-Edit-Item-screen.patch (text/plain), 1.90 KB, created by
David Cook
on 2013-02-08 02:59:24 UTC
(
hide
)
Description:
Bug 9571 - Fix width for textareas in Edit Item screen
Filename:
MIME Type:
Creator:
David Cook
Created:
2013-02-08 02:59:24 UTC
Size:
1.90 KB
patch
obsolete
>From 33b46e2a1d7231ed4a27cba1e7715995fdfb600b Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 8 Feb 2013 13:49:16 +1100 >Subject: [PATCH] Bug 9571 - Fix width for textareas in Edit Item screen > >This patch adds a style for textareas on the Edit Item screen of addbiblio.pl so that they are roughly the same length as the other input elements around it on the page. > >To test: > >Before applying patch... > >1) Create a new item for any biblio with a URL (subfield u) of over 100 characters (you can use www.lettercount.com to count the number of characters in your URL). >2) In any browser (I've already looked at IE, Firefox, and Chrome on Windows), edit the item (either by clicking "Edit Items" from the Normal view of the bib record then clicking "Edit" next to the applicable item, or clicking on the "Items" view in the bib record and clicking "Edit item" next to the relevant item). >3) Notice that the textarea for the url is absolutely tiny. Difficult to read and difficult to interact with. > >Apply patch. > >1) Notice that the textarea is roughly the same size as the other input elements on the page. > >--- > >Ideally, I would like the textarea to automatically be the same length as the other input elements, but I'm not sure how to do that just with CSS and while still only using relative values. Open to hear other ideas about how this can look even better. >--- > koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css >index 79ceb48..8059241 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css >@@ -130,6 +130,10 @@ a.tagnum { > width : auto; > } > >+#cataloguing_additem_newitem textarea.input_marceditor { >+ width : 31em; >+} >+ > .mandatory_marker { > color: red; > } >-- >1.7.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9571
:
15152
|
15173
|
15174
|
15175
|
16834