Skip to content

Commit

Permalink
Fallback to Menlo before monospace
Browse files Browse the repository at this point in the history
Roboto Mono doesn't have ANSI-style characters (e.g. blocks, etc.) as
well as some other Unicode characters so it falls through to monospace.

On macOS, monospace is Courier, which doesn't have a lot of those
characters either.

This means that some characters end up being proportional.

By adding Menlo (which has a very complete set of characters) before monospace, it means that the console output won't suddenly be out-of-whack.
  • Loading branch information
docwhat committed Apr 14, 2017
1 parent 5dc4d33 commit 6a187c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions less/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ table.progress-bar {
}

#main-panel > pre {
font-family: 'Roboto Mono', monospace !important;
font-family: 'Roboto Mono', Menlo, monospace !important;
}

.yui-button {
Expand Down Expand Up @@ -233,7 +233,7 @@ table.progress-bar {

.console-output, .console-output * {
position: relative;
font-family: 'Roboto Mono', monospace !important;
font-family: 'Roboto Mono', Menlo, monospace !important;
font-size: 14px;
background: @console-black;
color: @console-white;
Expand All @@ -245,7 +245,7 @@ table.progress-bar {
}

.ace_editor {
font: 12px/normal 'Roboto Mono', monospace;
font: 12px/normal 'Roboto Mono', Menlo, monospace;
}

[style^="color:gray"] {
Expand Down

0 comments on commit 6a187c3

Please sign in to comment.