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>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2025-06-05 11:32:55 +00:00 committed by Lucas Gass
parent bc9dfb4b8e
commit df3e44b88b
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
2 changed files with 8 additions and 0 deletions

View File

@ -849,6 +849,10 @@ textarea {
}
}
textarea {
resize: both;
}
input {
&[type="submit"] {
padding: .5em 1em;

View File

@ -136,6 +136,10 @@ textarea {
width: auto;
}
textarea {
resize: both;
}
.input-fluid {
width: 50%;
}