From de05a574b145ffa6d2813c4fa53bc4fca67cb732 Mon Sep 17 00:00:00 2001 From: Nick Lin Date: Sat, 19 Mar 2022 16:57:58 +0800 Subject: [PATCH] feat: gradient units to userSpaceOnUse (#1644) --- src/common/Card.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/Card.js b/src/common/Card.js index 44dec16d..569d7526 100644 --- a/src/common/Card.js +++ b/src/common/Card.js @@ -123,8 +123,9 @@ class Card { ? ` ${gradients.map((grad, index) => { let offset = (index * 100) / (gradients.length - 1);