aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-10-21 08:57:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-21 08:59:33 -0700
commitfcd3384f9f058cf199f4fd10a25b6c700fd12a44 (patch)
tree912a0388e0869fe087f5823e7c4651b1982f234e
parent0a93acf91a116911f2c6c6add4f153cc80d15181 (diff)
downloadpandoc-fcd3384f9f058cf199f4fd10a25b6c700fd12a44.tar.gz
Fix line numbers in source code with reveal.js
We need "overflow: visible" for these to work, and reveal's default css disables this. So this modifies the default template to add this. Closes #7634. Thanks to @cderv for diagnosing the issue.
-rw-r--r--data/templates/default.revealjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 203983522..45727e2d2 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -19,6 +19,9 @@ $endif$
<link rel="stylesheet" href="$revealjs-url$/dist/reset.css">
<link rel="stylesheet" href="$revealjs-url$/dist/reveal.css">
<style>
+ .reveal .sourceCode { /* see #7635 */
+ overflow: visible;
+ }
$styles.html()$
</style>
$if(theme)$