mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 12:48:31 +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"}
|
||||
render-wasm?
|
||||
(obj/merge!
|
||||
#js {"--editor-container-width" (dm/str width "px")
|
||||
"--editor-container-height" (dm/str height "px")
|
||||
"--fallback-families" (if (seq fallback-families) (dm/str (str/join ", " fallback-families)) "sourcesanspro")})
|
||||
#js {"--editor-container-width" "auto"
|
||||
"--editor-container-height" "auto"
|
||||
"--fallback-families" (if (seq fallback-families) (dm/str (str/join ", " fallback-families)) "sourcesanspro")
|
||||
:display "flex"})
|
||||
|
||||
(not render-wasm?)
|
||||
(obj/merge!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user