Skip to content

Commit

Permalink
Avoid page breaks inside tabs and asides
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 17, 2024
1 parent 7784c18 commit 080391b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/starlight/style/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@
background-color: transparent !important;
}

/* user-components/Aside.astro */
.starlight-aside {
break-inside: avoid;
}

/* user-components/Tabs.astro */
starlight-tabs {
break-inside: avoid;
}

/* layout/PageFrame.astro */
.page > header {
position: relative !important;
Expand Down

0 comments on commit 080391b

Please sign in to comment.