add base styles table class for repeated table headers

the -fs-table-paginate property has an old and still unfixed bug where
it basically resets/ignores the border-collapse property of the table.
setting border-spacing to 0 is a workaround for this, but it does
result in borders that are a tad bit thicker then they would be if
-fs-table-paginate was not used
This commit is contained in:
Gered 2017-05-04 08:13:41 -04:00
parent 7621ed74f2
commit 66ccd26cb4

View file

@ -46,6 +46,12 @@ table.no-split-rows tr {
page-break-inside: avoid;
page-break-after: auto;
}
table.repeat-header {
-fs-table-paginate: paginate;
/* hack to work around bug http://stackoverflow.com/questions/10512324
unfortunately, this does result in borders that are a little bit too thick */
border-spacing: 0;
}
table.keep-together {
page-break-inside: avoid;
}