From f46af7c68b24f6c52ffded545986bbf56eaa4620 Mon Sep 17 00:00:00 2001 From: Andy Li <1450947+andy1li@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:58:22 +0800 Subject: [PATCH 1/2] feat(css): Add user-select none to removed-line in diff-highlight --- app/styles/app.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/styles/app.css b/app/styles/app.css index be09c1aa2..adea81245 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -132,10 +132,12 @@ .diff-highlight .removed-line { background-color: rgba(255, 0, 0, 0.1); + user-select: none; } .dark .diff-highlight .removed-line { background-color: rgba(255, 0, 0, 0.15); + user-select: none; } .diff-highlight .added-line { From 34d84dae915b4eb5a1723a8710a8de73c4012755 Mon Sep 17 00:00:00 2001 From: Andy Li <1450947+andy1li@users.noreply.github.com> Date: Wed, 8 Jan 2025 05:38:00 +0800 Subject: [PATCH 2/2] style: Remove user-select property from removed-line in diff-highlight --- app/styles/app.css | 1 - 1 file changed, 1 deletion(-) diff --git a/app/styles/app.css b/app/styles/app.css index adea81245..2fda73523 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -137,7 +137,6 @@ .dark .diff-highlight .removed-line { background-color: rgba(255, 0, 0, 0.15); - user-select: none; } .diff-highlight .added-line {