summaryrefslogtreecommitdiff
path: root/res/css/style.scss
diff options
context:
space:
mode:
Diffstat (limited to 'res/css/style.scss')
-rw-r--r--res/css/style.scss11
1 files changed, 10 insertions, 1 deletions
diff --git a/res/css/style.scss b/res/css/style.scss
index 9deb7798..9e6ab2d2 100644
--- a/res/css/style.scss
+++ b/res/css/style.scss
@@ -19,4 +19,13 @@
@import "partials/typography";
// Third-party
-@import "vendor/ui.css"; \ No newline at end of file
+@import "vendor/ui.css";
+
+// Hacks
+
+// Not sure this 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!
+// See http://stackoverflow.com/questions/18124820/html5-svg-text-selection-bug-in-chrome
+svg text::selection { background: none; }
+