diff --git a/theme/pdf/pdf.css b/theme/pdf/pdf.css index 5688866c..10ff3309 100644 --- a/theme/pdf/pdf.css +++ b/theme/pdf/pdf.css @@ -19,6 +19,15 @@ pre[data-type="programlisting"] { } +/*--Adjusting padding in index to avoid bad break--*/ +@page toc:index { /* first page */ + padding-bottom: 0.2in; +} + +@page toc: { + padding-bottom: 0.2in; +} + /*--Adjusting padding in TOC to avoid bad break--*/ @page toc:first { /* first page */