Commit e02b47d
authored
Fix font-size in inline code comment preview (#35209)
Previously, when writing a inline code comment, the markup preview would
have incorrect font size of 16px. This fixes it to 14px and also
combines similar CSS rules into one.
I'm not a fan of this selector complexity, but it seems like a necessity
because standalone markup files render at 16px while comments render at
14px.
---------
Signed-off-by: silverwind <me@silverwind.io>1 parent 90a48e9 commit e02b47d
2 files changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 303 | | |
308 | 304 | | |
309 | 305 | | |
| |||
630 | 626 | | |
631 | 627 | | |
632 | 628 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | 629 | | |
638 | 630 | | |
639 | 631 | | |
| |||
723 | 715 | | |
724 | 716 | | |
725 | 717 | | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | 718 | | |
731 | 719 | | |
732 | 720 | | |
| |||
0 commit comments