Skip to content

Commit 31beb3c

Browse files
committed
Fold comments in snippets in case of narrow screen
1 parent 1d83d0f commit 31beb3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scaladoc/resources/dotty_res/styles/scalastyle.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ pre, .symbol.monospace {
9393
font-weight: 500;
9494
font-size: 12px;
9595
}
96+
pre .hljs-comment {
97+
/* Fold comments in snippets */
98+
white-space: normal;
99+
}
96100
a, a:visited, span[data-unresolved-link] {
97101
text-decoration: none;
98102
color: var(--link-fg);

0 commit comments

Comments
 (0)