mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 07:11:32 -05:00
🐛 Add additional fix to fix-percents function on svg parse
This commit is contained in:
parent
b6d53c9ded
commit
43c13ed432
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue