template view styling tweaks
This commit is contained in:
parent
a1b8920f59
commit
fceb75dd31
|
@ -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)
|
||||
|
|
|
@ -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})
|
||||
|
||||
|
|
Loading…
Reference in New Issue