Strike through the removed part of diff entries
Communicate better that the part marked with - is the removed part by striking out the text.
This commit is contained in:
parent
6d9d937c70
commit
96681bfd37
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ defineProps<{
|
||||||
.removed {
|
.removed {
|
||||||
color: color-mix(in srgb, CanvasText, red 40%);
|
color: color-mix(in srgb, CanvasText, red 40%);
|
||||||
}
|
}
|
||||||
|
.removed .content{
|
||||||
|
text-decoration-line: line-through;
|
||||||
|
}
|
||||||
.added {
|
.added {
|
||||||
color: color-mix(in srgb, CanvasText, green 40%);
|
color: color-mix(in srgb, CanvasText, green 40%);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue