diff --git a/frontend/src/app/main/ui/shapes/text/styles.cljs b/frontend/src/app/main/ui/shapes/text/styles.cljs index db1f75013..bfa35f81f 100644 --- a/frontend/src/app/main/ui/shapes/text/styles.cljs +++ b/frontend/src/app/main/ui/shapes/text/styles.cljs @@ -15,10 +15,11 @@ [cuerdas.core :as str])) (defn generate-root-styles - [_shape node] + [shape node] (let [valign (:vertical-align node "top") - base #js {:height "100%" - :width "100%" + {:keys [width height]} shape + base #js {:height height + :width width :fontFamily "sourcesanspro" :display "flex"}] (cond-> base