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 {
|
.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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue