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>
This commit is contained in:
Owen Leonard 2023-11-07 11:54:56 +00:00 committed by Tomas Cohen Arazi
parent ef880e349f
commit ce9cd1458c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
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

@ -150,10 +150,6 @@
[% t("Koha") | html %]
[% END %]</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">
@ -454,7 +450,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 ) %]
@ -466,7 +462,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">