From 96681bfd37ce11a9011ab4f66b11e7e7e886992a Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Sat, 6 Sep 2025 16:51:31 +0200 Subject: [PATCH] Strike through the removed part of diff entries Communicate better that the part marked with - is the removed part by striking out the text. --- components/DiffEntry.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/DiffEntry.vue b/components/DiffEntry.vue index 142f12f..b644248 100644 --- a/components/DiffEntry.vue +++ b/components/DiffEntry.vue @@ -51,6 +51,9 @@ defineProps<{ .removed { color: color-mix(in srgb, CanvasText, red 40%); } +.removed .content{ + text-decoration-line: line-through; +} .added { color: color-mix(in srgb, CanvasText, green 40%); }