From 1e9c3c643cf4accf97cec0930432a9a2edb6fe7d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 7 Nov 2023 11:54:56 +0000 Subject: [PATCH] Bug 35272: Add padding above vendor contracts section This patch makes minor updates to the CSS and markup of the vendor detail page so that the different page sections have the correct margins. To test, apply the patch and rebuild the staff interface CSS. - In Acquisitions, locate a vendor and add at least one contract if necessary. - View the vendor details page. Each section (Vendor details, Ordering information, Contracts) should have comfortable and consistent margins. Signed-off-by: Caroline Cyr La Rose --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 5 +++++ koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) 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 19533f9c7b..0c274f0c55 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -26,6 +26,11 @@ button { & + .page-section { margin-top: 1em; } + + &.rows { + margin-bottom: 1rem; + padding: 1rem; + } } a { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index 4126fb895a..fae8f92e65 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -150,10 +150,6 @@ [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] - @@ -454,7 +450,7 @@ div.rows { padding: 1rem; } [% END %] -
+

Subscription details

Number of subscriptions: [% IF ( CAN_user_serials ) %] @@ -466,7 +462,7 @@ div.rows { padding: 1rem; }

- + [% IF ( contracts ) %]
-- 2.34.1