Skip to content

Commit

Permalink
Merge pull request #752 from nature-of-code/dev/manual-break
Browse files Browse the repository at this point in the history
Add class to manually control break inside blocks
  • Loading branch information
shiffman authored Feb 12, 2024
2 parents 4952081 + 114d0e2 commit b428eac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions magicbook/stylesheets/components/callout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ div[data-type='project'] {
}
}

.avoid-break {
page-break-inside: avoid;
}

.allow-break > div {
page-break-inside: auto;
}

span.highlight {
display: block;
padding-left: 12pt;
Expand Down

0 comments on commit b428eac

Please sign in to comment.