Fixes github issue #92.
This commit is contained in:
parent
d7f0d9a597
commit
cfc514cd63
|
@ -1,4 +1,5 @@
|
|||
.code {
|
||||
display: table;
|
||||
font-family: "Lucida Console", Monaco, monospace;
|
||||
}
|
||||
|
||||
|
@ -53,12 +54,16 @@ div.report-container {
|
|||
}
|
||||
|
||||
div.line-numbers {
|
||||
display: inline-block;
|
||||
display: table-cell;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
div.file-lines {
|
||||
display: inline-block;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
div.lines-wrapper {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
/* Sorting Triangles */
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
(define (file->html path covered?)
|
||||
(define file (file->string path))
|
||||
(define lines (string-split file "\n"))
|
||||
`(div ()
|
||||
`(div ([class "lines-wrapper"])
|
||||
,(div:line-numbers (length lines))
|
||||
,(div:file-lines lines covered?)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user