Skip to content

Commit 713c55e

Browse files
committed
Merge remote-tracking branch 'tier4/ACP2E-2729' into PR_10_JAN_2024
2 parents 6226330 + d61ae38 commit 713c55e

File tree

1 file changed

+10
-5
lines changed
  • app/design/frontend/Magento/blank/web/css

1 file changed

+10
-5
lines changed

app/design/frontend/Magento/blank/web/css/print.less

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@
33
* See COPYING.txt for license details.
44
*/
55

6+
/**
7+
* @codingStandardsIgnoreStart
8+
*/
9+
610
@import 'source/lib/_lib.less'; // Global lib
711
@import 'source/_theme.less'; // Theme overrides
812
@import 'source/_variables.less'; // Local theme variables
913

1014
@baseDir: '../'; // Default
1115

16+
// @codingStandardsIgnoreEnd
17+
1218
// Magento/blank
1319
.page-print {
1420
.logo {
@@ -27,7 +33,6 @@
2733
text-shadow: none !important;
2834
}
2935

30-
// Black prints faster:h5bp.com/s
3136
a,
3237
a:visited {
3338
text-decoration: underline !important;
@@ -76,18 +81,18 @@
7681
p,
7782
h2,
7883
h3 {
79-
orphans: 3;
80-
widows: 3;
84+
break-inside: avoid;
8185
}
8286

8387
.block-content {
84-
page-break-before: avoid;
88+
break-before: avoid;
8589
}
8690

8791
.block-title,
8892
h2,
8993
h3 {
90-
page-break-after: avoid;
94+
break-after: avoid;
95+
break-inside: avoid;
9196
}
9297

9398
.nav-toggle {

0 commit comments

Comments
 (0)