From edbfe68dc3706fbd5feec39d27a6e3f8a78547a5 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 Signed-off-by: Laura_Escamilla --- 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 da16481bdd..254f316390 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -849,6 +849,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 05063f8160..5cd51a478a 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