Bugzilla – Attachment 183016 Details for
Bug 40081
textareas appear to now be fixed width
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40081: Textareas should resize horizontally and vertically
Bug-40081-Textareas-should-resize-horizontally-and.patch (text/plain), 1.74 KB, created by
David Nind
on 2025-06-05 22:35:49 UTC
(
hide
)
Description:
Bug 40081: Textareas should resize horizontally and vertically
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-06-05 22:35:49 UTC
Size:
1.74 KB
patch
obsolete
>From 82f444e1a36218f217be57f0322f3c3ecf6968a5 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 5 Jun 2025 11:32:55 +0000 >Subject: [PATCH] Bug 40081: Textareas should resize horizontally and > vertically > >Bootstrap 5 sets the "resize" property on textareas to "vertical." For >our purposes this is a regression in functionality and should be >overridden. > >To test, apply the patch and rebuild OPAC and staff interface CSS. > >- Log into the OPAC and go to the "Your personal details" page. > - Under "Alternate address" -> "Contact note," check that the textarea > can be freely resized. >- In the staff client, create a new patron and test the same textarea in > that form. > >Sponsored-by: Athens County Public Libraries >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 4 ++++ > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 4 ++++ > 2 files changed, 8 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 5798abfd15..858c8bd14b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -845,6 +845,10 @@ textarea { > } > } > >+textarea { >+ resize: both; >+} >+ > input { > &[type="submit"] { > padding: .5em 1em; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index 5f182f644a..de107bc216 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -136,6 +136,10 @@ textarea { > width: auto; > } > >+textarea { >+ resize: both; >+} >+ > .input-fluid { > width: 50%; > } >-- >2.39.5
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 40081
:
182987
|
182998
| 183016