mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: inherit font-size for code in headings (#30536)
* UX: inherit font-size for code in headings * UX: use descendant selector * FIX: linting
This commit is contained in:
parent
eb58623b11
commit
b3772e23bf
@ -29,6 +29,15 @@ pre > code {
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
h1 code,
|
||||
h2 code,
|
||||
h3 code,
|
||||
h4 code,
|
||||
h5 code,
|
||||
h6 code {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-doctag,
|
||||
.hljs-code,
|
||||
|
Loading…
Reference in New Issue
Block a user