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.
This commit is contained in:
John MacFarlane 2021-10-21 08:57:00 -07:00
parent 0a93acf91a
commit fcd3384f9f

View file

@ -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)$