From 8c38e043d657a46f4a272eb756a529c15a3ef5d7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 13 Feb 2023 16:02:28 +0000 Subject: [PATCH] Bug 32946: 'Send list' form in OPAC is misaligned This patch tweaks the OPAC CSS and the send list template so that form fields are laid out correctly. To test, apply the patch and rebuild the OPAC CSS. - Log in to the OPAC and create a list if necessary. - In the OPAC's view of the list contents, click the "Send list" button. - In the pop-up window the form layout should look correct. Signed-off-by: Matt Blenkinsop Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 0d7ba6e5201b16f7e7a2332af7204cb6416c289a) Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 9 +++++++++ .../opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index a927bff544..719ef61980 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -1003,6 +1003,15 @@ fieldset { } } + &.brief { + label { + display: block; + font-weight: bold; + padding: .3em 0; + text-align: left; + } + } + table { font-size: 100%; } diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt index b7eb7d7fb8..a446e8b5a9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt @@ -31,13 +31,13 @@

Back to lists

[% ELSE %]
-

Sending your list

-
+
+

Sending your list

- + - +
-- 2.20.1