aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.html
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-09 13:34:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-09 13:34:21 -0700
commitedcfbccf5dbef7d64b498376b457cc0e44fd275c (patch)
treee98bb4da25b0655b75f173ee42f966ef34a6d2e3 /test/lhs-test.html
parent9b3d14b6eff7c7f46be9a26497091b4087c772e8 (diff)
downloadpandoc-edcfbccf5dbef7d64b498376b457cc0e44fd275c.tar.gz
Use skylighting 0.7.2. Adjust tests.
This should fix commercialhaskell/stackage#3719, once a new release is made.
Diffstat (limited to 'test/lhs-test.html')
-rw-r--r--test/lhs-test.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/lhs-test.html b/test/lhs-test.html
index c9777ea7b..5fce225df 100644
--- a/test/lhs-test.html
+++ b/test/lhs-test.html
@@ -14,7 +14,7 @@
<style type="text/css">
a.sourceLine { display: inline-block; line-height: 1.25; }
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
-a.sourceLine:empty { height: 1.2em; position: absolute; }
+a.sourceLine:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode { white-space: pre; position: relative; }
div.sourceCode { margin: 1em 0; }
@@ -27,13 +27,11 @@ code.sourceCode { white-space: pre-wrap; }
a.sourceLine { text-indent: -1em; padding-left: 1em; }
}
pre.numberSource a.sourceLine
- { position: relative; }
-pre.numberSource a.sourceLine:empty
- { position: absolute; }
+ { position: relative; left: -4em; }
pre.numberSource a.sourceLine::before
{ content: attr(data-line-number);
- position: absolute; left: -5em; text-align: right; vertical-align: baseline;
- border: none; pointer-events: all;
+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
+ border: none; pointer-events: all; display: inline-block;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;