From 9cd3f08f70ceb1a5b7454389e2cef49ee4674b71 Mon Sep 17 00:00:00 2001 From: Sergey Ufocoder Date: Wed, 7 Nov 2018 18:43:20 +0300 Subject: [PATCH] Add `space-evenly` value for `justify-content` css property --- src/Css.elm | 6 ++++++ tests/Properties.elm | 1 + 2 files changed, 7 insertions(+) diff --git a/src/Css.elm b/src/Css.elm index c3d6429a..87756db3 100644 --- a/src/Css.elm +++ b/src/Css.elm @@ -3437,6 +3437,12 @@ spaceBetween : JustifyContent a b spaceBetween = prop1 "space-between" +{-| The[`space-evenly`](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content#Values) value for the +justify-content property. +-} +spaceEvenly : JustifyContent a b +spaceEvenly = + prop1 "space-evenly" {-| The[`stretch`](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#Values) value for the align-items property. diff --git a/tests/Properties.elm b/tests/Properties.elm index 2a7a1bf5..17e52335 100644 --- a/tests/Properties.elm +++ b/tests/Properties.elm @@ -421,6 +421,7 @@ all = , ( justifyContent center, "center" ) , ( justifyContent spaceAround, "space-around" ) , ( justifyContent spaceBetween, "space-between" ) + , ( justifyContent spaceEvenly, "space-evenly" ) ] , testProperty { function = "opacity", property = "opacity" } [ ( opacity inherit, "inherit" )