Skip to content

Commit

Permalink
FileTree print styles
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 17, 2024
1 parent 53988e6 commit b5fa5ec
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 @@ -98,6 +98,16 @@
font-size: 0.9375em !important;
}

/* user-components/FileTree.astro */
starlight-file-tree {
break-inside: avoid;
}
starlight-file-tree .highlight {
outline: 3px solid var(--sl-color-accent-low);
color: var(--sl-color-text) !important;
background-color: transparent !important;
}

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

0 comments on commit b5fa5ec

Please sign in to comment.