From 856c68c99494b409efdd0ea8de18c002e31fddfe Mon Sep 17 00:00:00 2001 From: nelsonic Date: Thu, 12 Dec 2019 19:50:27 +0000 Subject: [PATCH] add padding and background to row element in elm-ui tutorial #145 --- tutorials/elm-ui/src/Main.elm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tutorials/elm-ui/src/Main.elm b/tutorials/elm-ui/src/Main.elm index f104197..abd61ba 100644 --- a/tutorials/elm-ui/src/Main.elm +++ b/tutorials/elm-ui/src/Main.elm @@ -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