Skip to content

Commit

Permalink
Fix. 修复pre复制空行问题
Browse files Browse the repository at this point in the history
  • Loading branch information
RavelloH committed Sep 2, 2023
1 parent 5165c67 commit 16fc6dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,10 @@ pre span:not(span[highlight], span[class*='hljs']):hover:before {
color: #c6c9ce;
}

pre:has(span) {
white-space: normal;
}

code {
font-family: IBMPlex, Consolas, Monaco, courier, monospace;
line-height: initial;
Expand Down

0 comments on commit 16fc6dd

Please sign in to comment.