From 7bb5d707de9e76b39edfc18a4c3ae5b4ae9b6a89 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit ce9cd1458c4417e6e52e87df5fe8baeeb6c2d7dd) Signed-off-by: Fridolin Somers --- 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 73ea01840b..72ce4a8b66 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 9ad4c803d9..bba5f5ce6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -93,10 +93,6 @@ [% INCLUDE 'doc-head-open.inc' %] Vendor [% name | html %] › Koha [% INCLUDE 'doc-head-close.inc' %] - @@ -395,7 +391,7 @@ div.rows { padding: 1rem; } [% END %] -
+

Subscription details

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

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