Bugzilla – Attachment 158625 Details for
Bug 35272
Add padding above vendor contracts section
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35272: Add padding above vendor contracts section
Bug-35272-Add-padding-above-vendor-contracts-secti.patch (text/plain), 2.67 KB, created by
Katrin Fischer
on 2023-11-07 21:39:47 UTC
(
hide
)
Description:
Bug 35272: Add padding above vendor contracts section
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-11-07 21:39:47 UTC
Size:
2.67 KB
patch
obsolete
>From fcc6c16614de582f1626ade4a3726f38d3d07e3a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <caroline.cyr-la-rose@inlibro.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 %]</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"> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35272
:
158594
|
158600
| 158625