Skip to content

Commit d266197

Browse files
fix css issue
1 parent ef2a91f commit d266197

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

static/css/prism.css

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/prism_orig.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ https://prismjs.com/download.html#themes=prism-tomorrow&languages=clike+javascri
8484
pre[data-line] {
8585
position: relative;
8686
padding: 1em 0 1em 3em;
87+
z-index: 1;
88+
background: none; /* Allow the line highlight to shine through */
8789
}
8890

8991
.line-highlight {
@@ -95,7 +97,6 @@ pre[data-line] {
9597
/* Same as .prism’s padding-top */
9698

9799
background: #706000;
98-
z-index: -1; /* Show text over it; */
99100

100101
pointer-events: none;
101102

0 commit comments

Comments
 (0)