Skip to content

Commit

Permalink
avoid page breaks in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Sullivan committed Jun 9, 2023
1 parent 2ae9bfd commit 04e9c3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/starlight/components/MarkdownContent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
.content :global(pre) {
overflow-x: hidden !important;
white-space: pre-wrap !important;
page-break-inside: avoid;
}
}
</style>

0 comments on commit 04e9c3c

Please sign in to comment.