@@ -0,0 +1,36 @@
1+module ElInFixedHeightColumn exposing (..)
3+{-| el inside a fixed height column is rendered with zero height in Safari
5+<https://github.com/mdgriffith/elm-ui/issues/190>
7+If I put an el into a column of fixed height, the el is rendered with zero height
14+][ el [ Border.width 3, Border.color <| rgb255 0 0 0 ] <| text "an element" ]
16+Adding htmlAttribute <| Attr.style "flex-basis" "auto" to the el is a workaround
17+that fixes the problem in this instance.
21+Element should be rendered the same as in Firefox & Chrome, with the border going
26+import Testable.Element exposing (..)
27+import Testable.Element.Border as Border
36+ [ el [ Border.width 3, Border.color <| rgb 0 0 0 ] <| text "an element" ]