Skip to content

Commit 79f250f

Browse files
authoredOct 24, 2021
Coy: Set z-index to make shadows visible in colored table cells (#3161)
1 parent 1cac355 commit 79f250f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎themes/prism-coy.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ pre[class*="language-"] {
3434
overflow: visible;
3535
padding: 1px;
3636
}
37-
pre[class*="language-"]>code {
37+
38+
pre[class*="language-"] > code {
3839
position: relative;
40+
z-index: 1;
3941
border-left: 10px solid #358ccb;
4042
box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
4143
background-color: #fdfdfd;
@@ -77,7 +79,6 @@ pre[class*="language-"] {
7779
pre[class*="language-"]:before,
7880
pre[class*="language-"]:after {
7981
content: '';
80-
z-index: -2;
8182
display: block;
8283
position: absolute;
8384
bottom: 0.75em;

‎themes/prism-coy.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.