Skip to content

Commit

Permalink
fix: theme build bug due to print styles desync
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Dec 27, 2024
1 parent 12417aa commit 2aacb6a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/theme/ItaliaTheme/Print/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@
}
}

.block.image-text-block {
.image-text-card-wrapper {
page-break-inside: avoid;

h2 {
page-break-after: avoid;
}
}
}

.block.accordion {
.public-ui {
width: 100%;
Expand Down Expand Up @@ -219,6 +229,7 @@
}
}
}
}

.block.numbersBlock {
color: #000;
Expand Down Expand Up @@ -344,6 +355,7 @@
}
}

// listing variations
div.block.listing {
page-break-inside: avoid;

Expand Down

0 comments on commit 2aacb6a

Please sign in to comment.