Bugzilla – Attachment 128146 Details for
Bug 29604
Term highlighting adds unwanted pseudo element in the contentblock of OPAC details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29604: Dont add psuedo content to highlighted terms
Bug-29604-Dont-add-psuedo-content-to-highlighted-t.patch (text/plain), 1.28 KB, created by
Lucas Gass (lukeg)
on 2021-12-02 02:05:07 UTC
(
hide
)
Description:
Bug 29604: Dont add psuedo content to highlighted terms
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-12-02 02:05:07 UTC
Size:
1.28 KB
patch
obsolete
>From e12a4d410b7b3c9fd5dc21c96ba4fbf9e2fda2a8 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 2 Dec 2021 01:59:06 +0000 >Subject: [PATCH] Bug 29604: Dont add psuedo content to highlighted terms >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1. Do a search for something where the search terms will be in the 505 note. >2. Visit the OPAC detail page of the record. >3. The first occurance of the term highlighting will include the CSS pseduo element "â "; >4. Apply patch >5. Do the stuff to regenerate the CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface) >6. Do 1 & 2 again. >7. No weird psuedo element in the term highlighting >--- > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index 2f48d69f60..b88cc9b7b5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -2415,7 +2415,7 @@ nav { > line-height: 135%; > margin-left: 2em; > >- :first-child::before { >+ :first-child:not(.term)::before { > content: "â "; > } > } >-- >2.20.1
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 29604
:
128111
|
128146
|
128226
|
128706