Commit 2ab46fb
authored
Performance Profiler: match code font size in recommendations (#112371)
* Performance Profiler: match inline code font size in recommendations
* fix: match inline code font size with surrounding text using inherit
* fix: match code block font size with surrounding text
The oversized recommendation code block came from <pre> computing to
16px while the surrounding prose is 14px; font-size: inherit on <code>
copied that 16px. Give <pre> font-size: inherit so the block matches its
container, the same way inline code already does.1 parent 63c4b17 commit 2ab46fb
2 files changed
Lines changed: 10 additions & 0 deletions
File tree
- client
- dashboard/sites/performance
- performance-profiler/components/insights-section
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
0 commit comments