template view styling tweaks

This commit is contained in:
Dan Motzenbecker 2015-11-14 18:16:30 -05:00
parent a1b8920f59
commit fceb75dd31
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
(render [this]
(let [{:keys [app/msg]} (om/props this)]
(view {:style {:flexDirection "column" :margin 40}}
(text nil msg)))))
(text {:style {:fontSize 50 :fontWeight "100"}} msg)))))
;; om.next parser
(defmulti read om/dispatch)

View File

@ -24,7 +24,7 @@
om/IRender
(render [this]
(view {:style {:flexDirection "column" :margin 40}}
(text nil (:text data))))))
(text {:style {:fontSize 50 :fontWeight "100"}} (:text data))))))
(om/root widget app-state {:target 1})