[Koha-bugs] [Bug 27566] CSS rule not applying to HTML select / option - displays with serif font ignoring rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 22 14:02:35 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27566

PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #118568|0                           |1
        is obsolete|                            |

--- Comment #10 from PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> ---
Created attachment 118591
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118591&action=edit
Bug 27566: Add generic font family to prevent unstyled select tags

This patch adds a default font family "sans-serif" to the OPAC CSS as a
workaround for this Firefox bug:

font-family isn't honored in `<option>` element within `<select>`
dropdown
https://bugzilla.mozilla.org/show_bug.cgi?id=1536148

To test, apply the patch and rebuild the OPAC CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

 - Open the OPAC main page in Firefox.
 - Click the search type dropdown. The options should be styled using
   your system's default sans-serif font rather than a serif font.

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

Signed-off-by: Henry Bolshaw <bolshawh at parliament.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list