diff --git a/cover/private/html/assets/main.css b/cover/private/html/assets/main.css
index d3fec85..98c24ff 100644
--- a/cover/private/html/assets/main.css
+++ b/cover/private/html/assets/main.css
@@ -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 */
diff --git a/cover/private/html/html.rkt b/cover/private/html/html.rkt
index 310fd60..54c6c9e 100644
--- a/cover/private/html/html.rkt
+++ b/cover/private/html/html.rkt
@@ -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?)))