From d88610022192f3a6a286ba74da86e5ef2b938876 Mon Sep 17 00:00:00 2001 From: Safwan Samsudeen Date: Thu, 4 Apr 2024 17:08:48 +0530 Subject: [PATCH] fix: all text not selectable, add safari support --- src/gantt.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gantt.scss b/src/gantt.scss index 0034e78..ebb6a90 100644 --- a/src/gantt.scss +++ b/src/gantt.scss @@ -14,6 +14,9 @@ $handle-color: #ddd !default; $light-blue: #c4c4e9 !default; .gantt { + user-select: none; + -webkit-user-select: none; + .grid-background { fill: none; } @@ -69,7 +72,6 @@ $light-blue: #c4c4e9 !default; stroke: $bar-stroke; stroke-width: 0; transition: stroke-width .3s ease; - user-select: none; } .bar-progress { fill: $blue;