From 24c0f1d0837514c3f21eb2207fd145fa0855db66 Mon Sep 17 00:00:00 2001 From: Hassan Hayat Date: Sat, 28 Feb 2015 04:49:51 +0000 Subject: [PATCH] Fixed bug where flexDiv children do not flex --- src/Flex.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Flex.elm b/src/Flex.elm index ba5c384..836f06e 100644 --- a/src/Flex.elm +++ b/src/Flex.elm @@ -67,7 +67,8 @@ flexNode : String -> List (String, String) -> List Attribute -> List Html -> Htm flexNode name styles attributes children = let flexAttribute = style - ([ ("flex", "1 1 auto")] ++ styles) + ([ ("flex", "1 1 auto") + , ("display", "flex")] ++ styles) in node name (flexAttribute :: attributes) children