Skip to content

Commit

Permalink
Revert "Line Highlight: Inherit white-space from pre"
Browse files Browse the repository at this point in the history
This reverts commit d6881da

This is actually a bad idea since Line highlight does not fully support soft wrap on its own at the moment. It relies on Line numbers to work properly.
  • Loading branch information
Golmote committed Dec 5, 2017
1 parent d6881da commit a31f490
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/line-highlight/prism-line-highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ pre[data-line] {
position: relative;
padding: 1em 0 1em 3em;
}
pre[data-line] > code {
white-space: inherit;
}

.line-highlight {
position: absolute;
Expand Down

0 comments on commit a31f490

Please sign in to comment.