🐛 Fix problem with align center + grow auto-width

This commit is contained in:
alonso.torres 2026-04-27 17:26:08 +02:00 committed by Alonso Torres
parent d9f099841a
commit ad1111a613

View File

@ -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!