diff --git a/CHANGES.md b/CHANGES.md index 2d0b9d311d..1dc1d62c6e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -25,6 +25,7 @@ - Fix repeated fetch on file selection [Taiga #1933](https://tree.taiga.io/project/penpot/issue/1933) - Fix rename typography on text options [Taiga #1963](https://tree.taiga.io/project/penpot/issue/1963) - Fix problems with order in groups [Taiga #1960](https://tree.taiga.io/project/penpot/issue/1960) +- Fix SVG components preview [#1134](https://github.com/penpot/penpot/issues/1134) ### :arrow_up: Deps updates ### :boom: Breaking changes diff --git a/frontend/src/app/main/exports.cljs b/frontend/src/app/main/exports.cljs index 487541976e..5c0217152d 100644 --- a/frontend/src/app/main/exports.cljs +++ b/frontend/src/app/main/exports.cljs @@ -256,7 +256,8 @@ :xmlns "http://www.w3.org/2000/svg" :xmlnsXlink "http://www.w3.org/1999/xlink" :xmlns:penpot (when include-metadata? "https://penpot.app/xmlns")} - [:& wrapper {:shape group :view-box vbox}]])) + [:> shape-container {:shape group} + [:& wrapper {:shape group :view-box vbox}]]])) (mf/defc component-symbol [{:keys [id data] :as props}]