diff --git a/common/src/app/common/svg.cljc b/common/src/app/common/svg.cljc index 62aed04d3b..d400f01f1a 100644 --- a/common/src/app/common/svg.cljc +++ b/common/src/app/common/svg.cljc @@ -995,6 +995,9 @@ (= key :style) attrs + (str/starts-with? (d/name key) "data-") + attrs + (str/ends-with? val "%") (assoc attrs key (fix-percent-attr-numeric-val val))