Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6949 from eduard13/scrollable-block-improvement
Browse files Browse the repository at this point in the history
Making the large code snippets scrollable
  • Loading branch information
dobooth authored Apr 1, 2020
2 parents 4848683 + a9e4492 commit c9bcff9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/common/css/devdocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@
.collapsible {
margin: 0 0 1.3em;
}

/* Makes all the big code snippets scrollable */
.content-wrap > div[class*="language-"].highlighter-rouge .highlight {
overflow: auto;
margin: 0 0 20px;
max-height: 700px;
}

0 comments on commit c9bcff9

Please sign in to comment.