Fix overflow of code blocks with line numbers. Fixes #41

This commit is contained in:
Joe Roe 2023-08-29 09:52:01 +02:00
parent 863998feb2
commit 21a7537bab
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,7 @@
# risotto (development version)
* Fix overflow of code blocks with line numbers (#41)
# risotto 0.3.0
* Added support for favicons (#57)

View file

@ -154,6 +154,12 @@ pre {
margin: 0 0 1.5rem 0;
}
/* Fix overflow when config markup.highlight.lineNos is true */
/* See https://github.com/joeroe/risotto/issues/41 */
.highlight div {
overflow-x: auto;
}
/* Emphasis */
b,
strong {