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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to