From 82f444e1a36218f217be57f0322f3c3ecf6968a5 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 --- 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