git.iko.soy/typeable/elm-ui
on master help sign in
Merge pull request #19 from mgold/docs-fixes
7e99508Matthew Griffith
src/Element.elm+3−3
@@ -65,7 +65,7 @@ Text layout needs some specific considerations.
65
65
66# Padding and Spacing
66# Padding and Spacing
67
67
68−There's no concept of margin in `style-elements`, instead we have padding and spacing.
68+There's no concept of margin in `elm-ui`, instead we have padding and spacing.
69
69
70Padding is the distance between the outer edge and the content, and spacing is the space between children.
70Padding is the distance between the outer edge and the content, and spacing is the space between children.
71
71
@@ -381,7 +381,7 @@ px =
381 Internal.Px
381 Internal.Px
382
382
383
383
384−{-| Shrink an element to fit it's contents.
384+{-| Shrink an element to fit its contents.
385-}
385-}
386shrink : Length
386shrink : Length
387shrink =
387shrink =
@@ -1336,7 +1336,7 @@ paddingXY x y =
1336
1336
1337And then just do
1337And then just do
1338
1338
1339− paddingEach { edges | right 5 }
1339+ paddingEach { edges | right = 5 }
1340
1340
1341-}
1341-}
1342paddingEach : { top : Int, right : Int, bottom : Int, left : Int } -> Attribute msg
1342paddingEach : { top : Int, right : Int, bottom : Int, left : Int } -> Attribute msg
src/Element/Background.elm+1−1
@@ -35,7 +35,7 @@ image src =
35 Internal.Attr (VirtualDom.style "background" ("url(\"" ++ src ++ "\") center / cover no-repeat"))
35 Internal.Attr (VirtualDom.style "background" ("url(\"" ++ src ++ "\") center / cover no-repeat"))
36
36
37
37
38−{-| A centered background image that keeps it's natural propostions, but scales to fit the space.
38+{-| A centered background image that keeps its natural propostions, but scales to fit the space.
39-}
39-}
40uncropped : String -> Attribute msg
40uncropped : String -> Attribute msg
41uncropped src =
41uncropped src =
src/Element/Font.elm+1−1
@@ -294,7 +294,7 @@ shadow shade =
294 Internal.Single (Internal.textShadowName shade) "text-shadow" (Internal.formatTextShadow shade)
294 Internal.Single (Internal.textShadowName shade) "text-shadow" (Internal.formatTextShadow shade)
295
295
296
296
297−{-| A glow is just a simplified shadow
297+{-| A glow is just a simplified shadow.
298-}
298-}
299glow : Color -> Float -> Attr decorative msg
299glow : Color -> Float -> Attr decorative msg
300glow clr i =
300glow clr i =