]> git.koha-community.org Git - koha.git/commit
Bug 27566: Add generic font family to prevent unstyled select tags
authorOwen Leonard <oleonard@myacpl.org>
Thu, 28 Jan 2021 16:37:13 +0000 (16:37 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 24 May 2021 18:18:29 +0000 (18:18 +0000)
commit699c1db92586cc530e9c37620f87251d48b86e3b
treefcc9ffa697963a61cc499fd94f7dbf54b402e822
parent08c2408a3d2df5be104304dcbd38a7af8cd63975
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@web.de>
Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit dee61a7c3e30629f8651823a6dd761e98560d60c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d736d8908c90cba6b075235f9de5b256e1d2cb46)
koha-tmpl/opac-tmpl/bootstrap/css/src/_fonts.scss