mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 15:38:38 +00:00
🐛 Fix problem with align center + grow auto-width
This commit is contained in:
parent
d9f099841a
commit
ad1111a613
@ -418,9 +418,10 @@
|
|||||||
(cond-> #js {:pointerEvents "all"}
|
(cond-> #js {:pointerEvents "all"}
|
||||||
render-wasm?
|
render-wasm?
|
||||||
(obj/merge!
|
(obj/merge!
|
||||||
#js {"--editor-container-width" (dm/str width "px")
|
#js {"--editor-container-width" "auto"
|
||||||
"--editor-container-height" (dm/str height "px")
|
"--editor-container-height" "auto"
|
||||||
"--fallback-families" (if (seq fallback-families) (dm/str (str/join ", " fallback-families)) "sourcesanspro")})
|
"--fallback-families" (if (seq fallback-families) (dm/str (str/join ", " fallback-families)) "sourcesanspro")
|
||||||
|
:display "flex"})
|
||||||
|
|
||||||
(not render-wasm?)
|
(not render-wasm?)
|
||||||
(obj/merge!
|
(obj/merge!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user