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

Commit 1b76602

Browse files
committed
adding support back in for CSS view on pattern detail page
1 parent 4124c6c commit 1b76602

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

public/styleguide/css/styleguide.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@
557557
max-height: 300px;
558558
padding: 0 1em; }
559559

560+
#sg-code-container .with-css pre {
561+
max-height: 200px; }
562+
560563
#sg-annotation-close-btn, #sg-code-close-btn {
561564
color: #fff;
562565
position: absolute;

public/styleguide/css/styleguide.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,10 @@ $animate-quick: 0.2s;
799799
padding: 0 1em;
800800
}
801801

802+
#sg-code-container .with-css pre {
803+
max-height: 200px;
804+
}
805+
802806
#sg-annotation-close-btn, #sg-code-close-btn {
803807
color: #fff;
804808
position: absolute;

0 commit comments

Comments
 (0)