mirror of https://gitlab.com/curben/blog
fix(css): highlight content only
previous setting may highlight partially on longer line
This commit is contained in:
parent
816702f3f8
commit
2735d10aaa
|
@ -625,13 +625,11 @@ td {
|
|||
.hljs-addition {
|
||||
background-color: #144212;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background-color: #600;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* hide mobile nav menu and its checkbox */
|
||||
|
|
|
@ -945,13 +945,11 @@ td {
|
|||
.hljs-addition {
|
||||
background-color: #144212;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background-color: #600;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* hide mobile nav menu and its checkbox */
|
||||
|
|
Loading…
Reference in New Issue