fix(css): highlight content only

previous setting may highlight partially on longer line
This commit is contained in:
Ming Di Leom 2023-12-25 06:49:55 +00:00
parent 816702f3f8
commit 2735d10aaa
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 0 additions and 4 deletions

View File

@ -625,13 +625,11 @@ td {
.hljs-addition { .hljs-addition {
background-color: #144212; background-color: #144212;
display: inline-block; display: inline-block;
width: 100%;
} }
.hljs-deletion { .hljs-deletion {
background-color: #600; background-color: #600;
display: inline-block; display: inline-block;
width: 100%;
} }
/* hide mobile nav menu and its checkbox */ /* hide mobile nav menu and its checkbox */

View File

@ -945,13 +945,11 @@ td {
.hljs-addition { .hljs-addition {
background-color: #144212; background-color: #144212;
display: inline-block; display: inline-block;
width: 100%;
} }
.hljs-deletion { .hljs-deletion {
background-color: #600; background-color: #600;
display: inline-block; display: inline-block;
width: 100%;
} }
/* hide mobile nav menu and its checkbox */ /* hide mobile nav menu and its checkbox */