Skip to content

Commit

Permalink
Build package
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamindehli committed Nov 26, 2024
1 parent d4b126f commit c35b7cb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
10 changes: 10 additions & 0 deletions dist/components/PDF.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ body {

h1,
.h1,
caption[style*="--size:1"],
caption[style*="--size: 1"] {
page-break-after: avoid;
font-size: $font-size-h1;
Expand All @@ -154,6 +155,7 @@ body {
}
h2,
.h2,
caption[style*="--size:2"],
caption[style*="--size: 2"] {
page-break-after: avoid;
font-size: $font-size-h2;
Expand All @@ -173,6 +175,7 @@ body {
}
h3,
.h3,
caption[style*="--size:3"],
caption[style*="--size: 3"] {
page-break-after: avoid;
font-size: $font-size-h3;
Expand All @@ -188,6 +191,7 @@ body {

h4,
.h4,
caption[style*="--size:4"],
caption[style*="--size: 4"],
caption:not([style*="--size"]) {
page-break-after: avoid;
Expand All @@ -203,6 +207,7 @@ body {

h5,
.h5,
caption[style*="--size:5"],
caption[style*="--size: 5"] {
page-break-after: avoid;
font-size: $font-size-h5;
Expand Down Expand Up @@ -434,6 +439,7 @@ body {
}
h1,
.h1,
caption[style*="--size:1"],
caption[style*="--size: 1"] {
font-size: calc($font-size-h1 * $scaling-for-signed-documents);
margin-top: calc($margin-top-h1 * $scaling-for-signed-documents);
Expand All @@ -443,6 +449,7 @@ body {
}
h2,
.h2,
caption[style*="--size:2"],
caption[style*="--size: 2"] {
font-size: calc($font-size-h2 * $scaling-for-signed-documents);
margin-top: calc($margin-top-h2 * $scaling-for-signed-documents);
Expand All @@ -454,13 +461,15 @@ body {
}
h3,
.h3,
caption[style*="--size:3"],
caption[style*="--size: 3"] {
font-size: calc($font-size-h3 * $scaling-for-signed-documents);
margin-top: calc($margin-top-h3 * $scaling-for-signed-documents);
margin-bottom: calc($margin-bottom-h3 * $scaling-for-signed-documents);
}
h4,
.h4,
caption[style*="--size:4"],
caption[style*="--size: 4"],
caption:not([style*="--size"]) {
font-size: calc($font-size-h4 * $scaling-for-signed-documents);
Expand All @@ -469,6 +478,7 @@ body {
}
h5,
.h5,
caption[style*="--size:5"],
caption[style*="--size: 5"] {
font-size: calc($font-size-h5 * $scaling-for-signed-documents);
margin-top: calc($margin-top-h5 * $scaling-for-signed-documents);
Expand Down
17 changes: 17 additions & 0 deletions dist/style/pdf.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/style/pdf.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c35b7cb

Please sign in to comment.