Skip to content

Commit

Permalink
Fix coy theme shadows
Browse files Browse the repository at this point in the history
This patch removes max-height from the pre tag in the coy theme,
because this height limitation is inconsistent with the other
themes.

The above change causes a bug in the shadows of the coy theme.
Adding max-height: 13em to the ::before and ::after selector fixes
the shadow bug.
  • Loading branch information
zeitgeist87 committed Jan 24, 2016
1 parent 7501ceb commit 58d2337
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions themes/prism-coy.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ pre[class*="language-"] {
padding: 0;
}

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

code[class*="language"] {
max-height: inherit;
height: 100%;
Expand Down Expand Up @@ -96,6 +90,7 @@ pre[class*="language-"]:after {
left: 0.18em;
width: 40%;
height: 20%;
max-height: 13em;
-webkit-box-shadow: 0px 13px 8px #979797;
-moz-box-shadow: 0px 13px 8px #979797;
box-shadow: 0px 13px 8px #979797;
Expand Down

0 comments on commit 58d2337

Please sign in to comment.