From c780f13d27a23d21446cc260336cb95dc0ccb38c Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 8 Dec 2014 01:45:32 +0200 Subject: Prevent text selection in svg (graph) Not sure this [1] bug is the problem, but we don't want svg selection, and since editing svg nodes inline is done with an input foreign element, this doesn't affect selecting there! [1] http://stackoverflow.com/questions/18124820/html5-svg-text-selection-bug-in-chrome --- res/css/style.css | 3 +++ 1 file changed, 3 insertions(+) (limited to 'res/css/style.css') diff --git a/res/css/style.css b/res/css/style.css index e1a4ceb1..155d4f25 100644 --- a/res/css/style.css +++ b/res/css/style.css @@ -686,3 +686,6 @@ h2 { h1 { font-size: 12px; } + +svg text::selection { + background: none; } -- cgit v1.3.1