UX: use em for code font-size (#30547)

This commit is contained in:
Bryce Huhtala 2025-01-03 13:09:29 -05:00 committed by GitHub
parent 4d5be463f6
commit dacb5d5d33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ code {
color: var(--primary-very-high);
background: var(--hljs-bg);
border-radius: var(--d-button-border-radius);
font-size: 14px;
font-size: 0.875em;
line-height: calc((13 + 4) / 13);
}
@ -29,15 +29,6 @@ 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,