Fix overflow of code blocks with line numbers. Fixes #41
This commit is contained in:
parent
863998feb2
commit
21a7537bab
2 changed files with 8 additions and 0 deletions
2
NEWS.md
2
NEWS.md
|
|
@ -1,5 +1,7 @@
|
||||||
# risotto (development version)
|
# risotto (development version)
|
||||||
|
|
||||||
|
* Fix overflow of code blocks with line numbers (#41)
|
||||||
|
|
||||||
# risotto 0.3.0
|
# risotto 0.3.0
|
||||||
|
|
||||||
* Added support for favicons (#57)
|
* Added support for favicons (#57)
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,12 @@ pre {
|
||||||
margin: 0 0 1.5rem 0;
|
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 */
|
/* Emphasis */
|
||||||
b,
|
b,
|
||||||
strong {
|
strong {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue