Skip to content

Commit 0260a8a

Browse files
committed
Add "Menlo" to monospace font list.
"Source Code Pro" is not installed on Mac, and the default monospace font makes the table's markdown-formatted fixed table's header line stick out. (Screenshots in this issue thread: dart-lang/pub-dev#1125 (comment)). Closes #1644
1 parent 78c0b17 commit 0260a8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/resources/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ a, a:hover {
219219
}
220220

221221
pre.prettyprint {
222-
font-family: 'Source Code Pro', monospace;
222+
font-family: 'Source Code Pro', Menlo, monospace;
223223
color: black;
224224
border-radius: 0;
225225
font-size: 15px;
@@ -247,7 +247,7 @@ pre {
247247
}
248248

249249
code {
250-
font-family: 'Source Code Pro', monospace;
250+
font-family: 'Source Code Pro', Menlo, monospace;
251251
/* overriding bootstrap */
252252
color: inherit;
253253
padding: 0.2em 0.4em;

testing/test_package_docs/static-assets/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ a, a:hover {
219219
}
220220

221221
pre.prettyprint {
222-
font-family: 'Source Code Pro', monospace;
222+
font-family: 'Source Code Pro', Menlo, monospace;
223223
color: black;
224224
border-radius: 0;
225225
font-size: 15px;
@@ -247,7 +247,7 @@ pre {
247247
}
248248

249249
code {
250-
font-family: 'Source Code Pro', monospace;
250+
font-family: 'Source Code Pro', Menlo, monospace;
251251
/* overriding bootstrap */
252252
color: inherit;
253253
padding: 0.2em 0.4em;

0 commit comments

Comments
 (0)