Commit 7f9233f
committed
[BUGFIX] Scale default TYPO3 backend font to user agent preference
The TYPO3 backend already implicitly respects browser font size
settings by using `rem` unit for some specific elements that specify
explicit font sizes, but the main backend font-size (as inherited from
`<body>`) still uses a fixed px unit, causing user agent font settings
like "small" or "large" to be ingored, which results in a mixture of
font sizes in some elements to be scaled to the user preference, while
others kept at "medium".
With this patch – applied only to v14 – we want to start rolling out
relative units for all font sizes. There will likely be placed that
require further adaption, but we believe that changing the base already
provides a more harmonized experience for users with custom font size
defaults.
Font sizes for users with a default browser font size (e.g. "medium")
are not changed.
Releases: main
Resolves: #104044
Resolves: #107743
Change-Id: Ie920260635ced50785a858aa307dde53fc4f3617
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/91364
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>1 parent 9b3ee09 commit 7f9233f
File tree
4 files changed
+12
-6
lines changed- Build/Sources/Sass/component
- scaffold
- typo3/sysext/backend/Resources/Public/Css
4 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
31 | | - | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments