Add page breaking and block rules to dl elements. This appears to fix #2.
The `dl` elements have been given an explicit `display:block` and page break avoid rule. In initial testing, this fixes the wkhtmltopdf bug of splitting lines in a multi-page document. See http://stackoverflow.com/questions/8786755 for links and discussion.
This commit is contained in:
parent
e96775b668
commit
da01a0b680
|
@ -1,3 +1,5 @@
|
||||||
resume/_*.md
|
resume/_*.md
|
||||||
output/*.html
|
output/*.html
|
||||||
output/*.pdf
|
output/*.pdf
|
||||||
|
|
||||||
|
resume/sample_long.md
|
||||||
|
|
|
@ -89,8 +89,9 @@ body.pdf {
|
||||||
|
|
||||||
dl {
|
dl {
|
||||||
margin: .7em 0 0;
|
margin: .7em 0 0;
|
||||||
dt {
|
page-break-inside: avoid !important;
|
||||||
}
|
display: block;
|
||||||
|
dt {}
|
||||||
dd {
|
dd {
|
||||||
}
|
}
|
||||||
strong {
|
strong {
|
||||||
|
|
Loading…
Reference in New Issue