git.iko.soy/typeable/elm-ui
on master help sign in
Small docs fixes
commitb3d4fc88420bbedb1b4397bcbd79577d299676b8 authorMax Goldstein <maxgoldstein1@gmail.com> dateThu 6 Sep 2018, 17:31 (8 years ago) parent91d3d81
3 files changed+5−5
src/Element.elm+3−3 src/Element/Background.elm+1−1 src/Element/Font.elm+1−1
src/Element.elm+3−3
@@ -65,7 +65,7 @@ Text layout needs some specific considerations.
6565
6666# Padding and Spacing
6767
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.
6969
7070Padding is the distance between the outer edge and the content, and spacing is the space between children.
7171
@@ -381,7 +381,7 @@ px =
381381 Internal.Px
382382
383383
384−{-| Shrink an element to fit it's contents.
384+{-| Shrink an element to fit its contents.
385385-}
386386shrink : Length
387387shrink =
@@ -1336,7 +1336,7 @@ paddingXY x y =
13361336
13371337And then just do
13381338
1339− paddingEach { edges | right 5 }
1339+ paddingEach { edges | right = 5 }
13401340
13411341-}
13421342paddingEach : { top : Int, right : Int, bottom : Int, left : Int } -> Attribute msg
src/Element/Background.elm+1−1
@@ -35,7 +35,7 @@ image src =
3535 Internal.Attr (VirtualDom.style "background" ("url(\"" ++ src ++ "\") center / cover no-repeat"))
3636
3737
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.
3939-}
4040uncropped : String -> Attribute msg
4141uncropped src =
src/Element/Font.elm+1−1
@@ -294,7 +294,7 @@ shadow shade =
294294 Internal.Single (Internal.textShadowName shade) "text-shadow" (Internal.formatTextShadow shade)
295295
296296
297−{-| A glow is just a simplified shadow
297+{-| A glow is just a simplified shadow.
298298-}
299299glow : Color -> Float -> Attr decorative msg
300300glow clr i =