mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
Fix PDF heading font fallback for export
This commit is contained in:
@@ -64,6 +64,11 @@ body.export-format-pdf {
|
||||
font-size: 14px;
|
||||
line-height: 1.2;
|
||||
|
||||
// Ensure heading glyph coverage for PDF engines that don't handle CSS vars well.
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
line-height: 1.2;
|
||||
}
|
||||
@@ -100,4 +105,4 @@ body.export-format-pdf.export-engine-dompdf {
|
||||
.page-content td a > img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user