mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Scale code and pre contents with font size
Fixes Trac #893. (imported from commit ef376a4921d682d48e86a3a442877c0e5b15feef)
This commit is contained in:
parent
00445c843e
commit
b558d062ba
@ -57,9 +57,19 @@ li, .table th, .table td {
|
||||
/* Inline and block code */
|
||||
|
||||
code {
|
||||
/* 12/14 em, so bootstrap's default 12 px,
|
||||
when body is the default 14 px */
|
||||
font-size: 0.857em;
|
||||
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
pre {
|
||||
/* 13/14 em, so bootstrap's default 13 px,
|
||||
when body is the default 14 px */
|
||||
font-size: 0.929em;
|
||||
}
|
||||
|
||||
pre code {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user