Skip to content

Commit

Permalink
add padding and background to row element in elm-ui tutorial #145
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Dec 12, 2019
1 parent c372a1e commit 856c68c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tutorials/elm-ui/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ main =

rowOfStuff : Element msg
rowOfStuff =
row [ E.width E.fill, E.centerY, E.spacing 30 ]
row
[ E.width E.fill
, E.centerY
, E.paddingXY 42 10
, Background.color (E.rgb255 215 219 218)
]
[ myElement
, el [ E.centerX ] myElement
, el [ E.alignRight ] myElement
Expand Down

0 comments on commit 856c68c

Please sign in to comment.