Fix issue where normalize.css would introduce font issues

- global font family on some elements set by normalize.css would override the desired font
- font stack was not correctly used across some elements
- fixes 
pull/8272/head
PaarthAgarwal 2022-03-19 19:51:41 +05:30 zatwierdzone przez LB (Ben Johnston)
rodzic 7f7fd15831
commit 1d22985912
3 zmienionych plików z 3 dodań i 3 usunięć
docs/releases
wagtail/admin/static_src/wagtailadmin/css

Wyświetl plik

@ -9,7 +9,7 @@ Changelog
* Major updates to frontend tooling; move Node tooling from Gulp to Webpack, upgrade to Node v16 and npm v8, eslint v8, stylelint v14 and others (Thibaud Colas)
* Change comment headers date formatting to use browser APIs instead of requiring a library (LB (Ben Johnston))
* Lint with flake8-comprehensions and flake8-assertive, including adding a pre-commit hook for these (Mads Jensen, Dan Braghis)
* Switch the Wagtail branding font to a system font stack (Steven Steinwand)
* Switch the Wagtail branding font to a system font stack (Steven Steinwand, Paarth Agarwal)
* Add black configuration and reformat code using it (Dan Braghis)
* Remove UI code for legacy browser support: polyfills, IE11 workarounds, Modernizr (Thibaud Colas)
* Remove redirect auto-creation recipe from documentation as this feature is now supported in Wagtail core (Andy Babic)

Wyświetl plik

@ -13,7 +13,7 @@ depth: 1
Here are other changes related to the redesign:
* Switch the Wagtail branding font to a system font stack (Steven Steinwand)
* Switch the Wagtail branding font to a system font stack (Steven Steinwand, Paarth Agarwal)
* Remove most uppercased text styles from admin UI (Paarth Agarwal)
* Convert all UI code to CSS logical properties for Right-to-Left (RTL) language support (Thibaud Colas)

Wyświetl plik

@ -87,7 +87,7 @@ button,
input,
select,
textarea {
font-family: sans-serif;
font-family: inherit;
}
/**