Skip to content

Commit 42ba571

Browse files
authored
Merge pull request #238 from rumaxr/master
Added monospace font-family to pre in highlighted CodeGrid
2 parents 0ae7baa + 661b9f5 commit 42ba571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalac-scoverage-plugin/src/main/scala/scoverage/report/CodeGrid.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class CodeGrid(mFile: MeasuredFile, sourceEncoding: Option[String]) {
6969
sb append "</span>"
7070
sb.toString
7171
}) mkString ""
72-
s"<pre style='font-size: 12pt; font-family: courier;'>$code</pre>"
72+
s"<pre style='font-size: 12pt; font-family: courier, monospace;'>$code</pre>"
7373
}
7474

7575
private def source(mfile: MeasuredFile): String = {

0 commit comments

Comments
 (0)