mirror of
https://github.com/penpot/penpot.git
synced 2026-04-29 05:08:08 +00:00
🐛 Add additional fix to fix-percents function on svg parse
This commit is contained in:
parent
b6d53c9ded
commit
43c13ed432
@ -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…
x
Reference in New Issue
Block a user