Fix styling for diff ins/del blocks + multiple-line comment overlapping (#2007)

This commit is contained in:
Tan Nhu 2024-04-24 04:59:29 +00:00 committed by Harness
parent 28ba149c74
commit 808ccda646

View File

@ -119,11 +119,6 @@
.d2h-code-line,
.d2h-code-side-line {
.d2h-code-line-ctn {
> del:first-child,
> ins:first-child {
background-color: transparent;
}
ins {
background-color: var(--bg-change-added);
}
@ -239,7 +234,12 @@
}
&:last-of-type,
*:not(span[data-annotation-for-line], span[data-selected-indicator]) {
*:not(
span[data-annotation-for-line],
span[data-selected-indicator],
[data-comment-thread-id],
[data-comment-thread-id] *
) {
background-color: var(--bg-selected-line-content) !important;
}