diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-10-21 08:57:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-10-21 08:59:33 -0700 |
commit | fcd3384f9f058cf199f4fd10a25b6c700fd12a44 (patch) | |
tree | 912a0388e0869fe087f5823e7c4651b1982f234e /data | |
parent | 0a93acf91a116911f2c6c6add4f153cc80d15181 (diff) | |
download | pandoc-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.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.revealjs | 3 |
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)$ |