Skip to content

Commit 1a36d9a

Browse files
committed
Ensure terminal frame dots are visible when printing
1 parent 1342f86 commit 1a36d9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/starlight/style/print.css

+4
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
.sl-markdown-content .expressive-code {
109109
break-inside: avoid;
110110
}
111+
.expressive-code .frame.is-terminal .header::before {
112+
/* Ensure terminal frame dots are visible even if backgrounds are disabled. */
113+
box-shadow: inset 99rem 99rem var(--sl-color-gray-5);
114+
}
111115
/* Inline code */
112116
.sl-markdown-content code:not(:where(.not-content *)) {
113117
background-color: transparent !important;

0 commit comments

Comments
 (0)