Skip to content

Commit

Permalink
Add @media type for the max-height property in the coy theme, so
Browse files Browse the repository at this point in the history
that it is disabled for printouts.
  • Loading branch information
zeitgeist87 committed Jan 21, 2016
1 parent 6a5c740 commit fe318d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion themes/prism-coy.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ pre[class*="language-"] {
background-size: 3em 3em;
background-origin: content-box;
overflow: visible;
max-height: 30em;
padding: 0;
}

@media screen {
pre[class*="language-"] {
max-height: 30em;
}
}

code[class*="language"] {
max-height: inherit;
height: 100%;
Expand Down

0 comments on commit fe318d8

Please sign in to comment.