diff --git a/style/book.css b/style/book.css index 17d75d1..7c54991 100644 --- a/style/book.css +++ b/style/book.css @@ -21,9 +21,6 @@ p { h1, h2, h3, h4, h5, h6 { margin: 30px 0 15px 0; } -h2 { - page-break-before: always; -} hr { border: 0 none; border-top: 1px solid #e5e5ee; @@ -33,6 +30,9 @@ hr { #container { position: relative; } +div.chapter { + page-break-inside: avoid; +} table td { border: 0; outline: 0; diff --git a/tool/src/build-html-inner.go b/tool/src/build-html-inner.go index 3e0c666..f7425ed 100644 --- a/tool/src/build-html-inner.go +++ b/tool/src/build-html-inner.go @@ -94,7 +94,6 @@ func main() {