Skip to content

Commit 60d013d

Browse files
Bugfix: quote monospace font (#85)
For some reason, saying just `monospace` here doesn't seem to work on chrome mobile. Quoting monospace fixes the issue.
1 parent fbef031 commit 60d013d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_docs_theme/static/pydoctheme.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ div.body a:hover {
136136
}
137137

138138
tt, code, pre {
139-
font-family: monospace, sans-serif;
139+
font-family: "monospace", sans-serif;
140140
font-size: 96.5%;
141141
}
142142

@@ -208,7 +208,7 @@ div.footer a:hover {
208208
}
209209

210210
dl > dt span ~ em {
211-
font-family: monospace, sans-serif;
211+
font-family: "monospace", sans-serif;
212212
}
213213

214214
.toctree-wrapper ul {

0 commit comments

Comments
 (0)