Skip to content

Commit

Permalink
Fold comments in snippets in case of narrow screen
Browse files Browse the repository at this point in the history
  • Loading branch information
romanowski committed May 27, 2021
1 parent 1d83d0f commit 31beb3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scaladoc/resources/dotty_res/styles/scalastyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ pre, .symbol.monospace {
font-weight: 500;
font-size: 12px;
}
pre .hljs-comment {
/* Fold comments in snippets */
white-space: normal;
}
a, a:visited, span[data-unresolved-link] {
text-decoration: none;
color: var(--link-fg);
Expand Down

0 comments on commit 31beb3c

Please sign in to comment.