From 4adce348b2ce50f70856b4874ff1b9f0a722549b Mon Sep 17 00:00:00 2001 From: youxiaojun <664105020@qq.com> Date: Tue, 23 Apr 2019 10:32:30 +0800 Subject: [PATCH] Let diff's line number not be selected --- diffview.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/diffview.css b/diffview.css index 811a593..86cefee 100644 --- a/diffview.css +++ b/diffview.css @@ -44,7 +44,11 @@ table.diff tbody th { color:#886; padding:.3em .5em .1em 2em; text-align:right; - vertical-align:top + vertical-align:top; + -webkit-user-select:none; + -moz-user-select:none; + -ms-user-select:none; + user-select:none; } table.diff thead { border-bottom:1px solid #BBC;