Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 4124c6c

Browse files
committed
adding styles to set a max height to the pre container
1 parent 8ac6e19 commit 4124c6c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

public/styleguide/css/styleguide.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@
553553
#sg-annotation-container a, #sg-code-container a {
554554
color: #dddddd; }
555555

556+
#sg-code-container pre {
557+
max-height: 300px;
558+
padding: 0 1em; }
559+
556560
#sg-annotation-close-btn, #sg-code-close-btn {
557561
color: #fff;
558562
position: absolute;

public/styleguide/css/styleguide.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,11 @@ $animate-quick: 0.2s;
794794
}
795795
}
796796

797+
#sg-code-container pre {
798+
max-height: 300px;
799+
padding: 0 1em;
800+
}
801+
797802
#sg-annotation-close-btn, #sg-code-close-btn {
798803
color: #fff;
799804
position: absolute;

0 commit comments

Comments
 (0)