Fixes: #16083 - Add font-variant-ligatures setting to disable ligatur… (#16383)

* Fixes: #16083 - Add font-variant-ligatures setting to disable ligatures on chromium

* Fix comment

* Disable ligatures on input fields

* Condense rules & apply to all elements

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
Daniel Sheppard 2024-06-04 08:02:38 -05:00 committed by GitHub
parent 7be003f5a0
commit 8ab9afb8db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

Binary file not shown.

View File

@ -1,3 +1,10 @@
// Disable font-ligatures for Chromium based browsers
// Chromium requires `font-variant-ligatures: none` in addition to `font-feature-settings "liga" 0`
* {
font-feature-settings: "liga" 0;
font-variant-ligatures: none;
}
// Restore default foreground & background colors for <pre> blocks // Restore default foreground & background colors for <pre> blocks
pre { pre {
background-color: transparent; background-color: transparent;