Skip to content

Commit

Permalink
Merge pull request #4479 from open-formulieren/issue/4450-pdf-text-ov…
Browse files Browse the repository at this point in the history
…erlapping

🐛 [#4450] Fix submission PDF rows overlapping
  • Loading branch information
sergei-maertens authored Jul 2, 2024
2 parents 678306e + 101d0fe commit 58449f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/openforms/scss/pdfs/_submission-step-row.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import '~microscope-sass/lib/typography';

.submission-step-row {
// TODO this fixes overlap on next page but also adds empty pages in case of long values
break-inside: avoid-page;

& + & {
margin-top: 1mm;
}
Expand Down Expand Up @@ -60,4 +63,11 @@
max-width: 100%;
}
}

// Avoid rows from overlapping in case the field label is more than 1 line (#4450)
&::after {
content: '';
display: table;
clear: both;
}
}

0 comments on commit 58449f8

Please sign in to comment.