mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
It turns out that `<input>` and `<button>` elements do not inherit the `font-family` style from `<body>` by default, but rather use a user-agent defined style. This means that their font-family might be different than the one used in the rest of the page. This commit fixes it by ensuring `<input>` (and other) elements inherit their `font-family` style from their parent element. Before: ![inputs font before][1] After: ![inputs font after][2] (The difference in font is subtle, but it's there.) [1]: https://user-images.githubusercontent.com/8604205/107853245-76bae980-6e1d-11eb-8318-e5f6e13876cc.png [2]: https://user-images.githubusercontent.com/8604205/107853246-77538000-6e1d-11eb-86f2-e3e7e41158f5.png PR Close #40881 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| extra-files | ||
| styles | ||
| testing | ||
| 404-body.html | ||
| google385281288605d160.html | ||
| index.html | ||
| main.ts | ||
| noop-worker-basic.js | ||
| polyfills.ts | ||
| pwa-manifest.json | ||
| test.ts | ||