Bugzilla – Attachment 142451 Details for
Bug 31813
Specify white-space: normal for spans styled as labels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31813: Specify white-space: normal for spans styled as labels
Bug-31813-Specify-white-space-normal-for-spans-sty.patch (text/plain), 1.79 KB, created by
Katrin Fischer
on 2022-10-22 10:02:42 UTC
(
hide
)
Description:
Bug 31813: Specify white-space: normal for spans styled as labels
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-22 10:02:42 UTC
Size:
1.79 KB
patch
obsolete
>From eddf0499e559417bf0e58ee2e7e0d5abe7a500f0 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 18 Oct 2022 15:51:30 +0000 >Subject: [PATCH] Bug 31813: Specify white-space: normal for spans styled as > labels > >This patch is necessary to override a CSS property being inherited from >Bootstrap. Allowing a <span> with the "label" class to wrap will keep >alignment correct when displaying information in the same layout as a >form. > >To test, apply the patch and rebuild the staff interface CSS >(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). > >- If necessary, stage a batch of MARC files (Cataloging -> Stage MARC > records for import). >- Go to Cataloging -> Manage staged MARC records and click on one of the > batches to view the details. >- In the list of information about the batch, longer labels like > "Matching rule applied" should wrap so that they stay aligned with > other labels in the list. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 2 ++ > 1 file changed, 2 insertions(+) > >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 2ada2f067f..13cf2477e5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -686,6 +686,7 @@ label, > max-width: inherit; > padding: 0; > vertical-align: middle; >+ white-space: normal; > > input { > &[type="checkbox"], >@@ -940,6 +941,7 @@ fieldset { > font-weight: bold; > padding: .3em 0; > text-align: left; >+ white-space: normal; > } > } > >-- >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 31813
:
142081
|
142099
|
142196
|
142197
| 142451 |
142452