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:
Bryce Huhtala 2025-01-02 13:30:01 -05:00 committed by GitHub
parent eb58623b11
commit b3772e23bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,