[Koha-bugs] [Bug 29604] New: term highlighting adds unwanted pseudo element in the contentblock of OPAC details page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 30 17:32:29 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29604
Bug ID: 29604
Summary: term highlighting adds unwanted pseudo element in the
contentblock of OPAC details page
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: lucas at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
Created attachment 128111
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128111&action=edit
example
To recreate:
1. Do a search that will give you lots of term highlighting, I just searched
for 'e' in koha-testing-docker.
2. Go to a record with some MARC 505 notes, this HTML element is
'contentblock'.
3. Notice the CSS pseudo element with this property 'content: "→ ";'
4. The very first time you see a match in the term highlight ( in my case 'e'),
the → is added.
This is because of this:
.contentblock :first-child::before {
content: "→ ";
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list