mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 20:52:12 +02:00
🐛 Fixes issues with export
This commit is contained in:
parent
41ec622e26
commit
3faa5b4a11
7 changed files with 36 additions and 24 deletions
|
@ -115,7 +115,9 @@
|
|||
(let [shape (unchecked-get props "shape")
|
||||
grow-type (unchecked-get props "grow-type")
|
||||
embed-fonts? (mf/use-ctx muc/embed-ctx)
|
||||
{:keys [id x y width height content]} shape]
|
||||
{:keys [id x y width height content]} shape
|
||||
;; We add 8px to add a padding for the exporter
|
||||
width (+ width 8)]
|
||||
[:foreignObject {:x x
|
||||
:y y
|
||||
:id (:id shape)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue