Skip to content

Commit 98394e7

Browse files
authored
bugfix: always add page break for analysis (#5992)
1 parent 39dca09 commit 98394e7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Desktop/html/css/printing.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,31 @@
2525
float: none !important;
2626
}
2727
.jasp-toolbar {
28-
page-break-after: avoid;
28+
break-after: avoid;
2929
}
30-
.jasp-analysis {
31-
page-break-after: auto;
30+
.jasp-analysis + .jasp-analysis {
31+
break-before: page; /* always break before analysis(not last one) see: #jasp-issues#3371 and #2919 */
3232
}
3333
.jasp-collection {
34-
page-break-inside: avoid;
34+
break-inside: avoid;
3535
}
3636
.hidden-collection {
37-
page-break-inside: auto;
37+
break-inside: auto;
3838
}
3939
.object-body {
40-
page-break-inside: auto;
40+
break-inside: auto;
4141
}
4242
.object-body .hidden-collection {
43-
page-break-inside: auto;
43+
break-inside: auto;
4444
}
4545
.jasp-image {
46-
page-break-inside: avoid;
46+
break-inside: avoid;
4747
}
4848
.jasp-notes {
49-
page-break-inside: avoid;
49+
break-inside: avoid;
5050
}
5151
.jasp-table-primitive {
52-
page-break-inside: avoid;
52+
break-inside: avoid;
5353
}
5454
/* .jasp-table table {
5555
table-layout:fixed !important;

0 commit comments

Comments
 (0)