mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 05:53:11 +08:00
UX: use em for code font-size (#30547)
This commit is contained in:
parent
4d5be463f6
commit
dacb5d5d33
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user