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 <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ce9cd1458c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2023-11-07 11:54:56 +00:00 committed by Fridolin Somers
parent 39a8ff6bb5
commit 7bb5d707de
2 changed files with 7 additions and 6 deletions

View file

@ -26,6 +26,11 @@ button {
& + .page-section {
margin-top: 1em;
}
&.rows {
margin-bottom: 1rem;
padding: 1rem;
}
}
a {

View file

@ -93,10 +93,6 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Vendor [% name | html %] &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
<style>
div.rows p{ margin-left: 1rem; }
div.rows { padding: 1rem; }
</style>
</head>
<body id="acq_supplier" class="acq">
@ -395,7 +391,7 @@ div.rows { padding: 1rem; }
[% END %]
</div> <!-- /#supplier-contact-details -->
<div id="subscription-details" class="page-section rows">
<div id="subscription-details" class="page-section">
<h2>Subscription details</h2>
<p><strong>Number of subscriptions: </strong>
[% IF ( CAN_user_serials ) %]
@ -407,7 +403,7 @@ div.rows { padding: 1rem; }
</div> <!-- /#subscription-details -->
</div> <!-- /.col-sm-6 -->
</div>
</div> <!-- /.row -->
[% IF ( contracts ) %]
<div id="supplier-contracts" class="page-section rows">