mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-29 15:24:07 +03:00
fixes #3
This commit is contained in:
parent
c623099fe3
commit
4a25c6dcb1
@ -777,6 +777,16 @@ textHelper textInput attrs textOptions =
|
||||
, [ Internal.unstyled (Html.text textOptions.text) ]
|
||||
)
|
||||
|
||||
heightFillFromChild =
|
||||
Internal.get attributes <|
|
||||
\attr ->
|
||||
case attr of
|
||||
Internal.Height (Internal.Fill _) ->
|
||||
True
|
||||
|
||||
_ ->
|
||||
False
|
||||
|
||||
attributesFromChild =
|
||||
Internal.get attributes <|
|
||||
\attr ->
|
||||
@ -832,6 +842,7 @@ textHelper textInput attrs textOptions =
|
||||
(Element.width Element.fill
|
||||
:: List.concat
|
||||
[ nearbys
|
||||
, heightFillFromChild
|
||||
, case textOptions.placeholder of
|
||||
Nothing ->
|
||||
[]
|
||||
|
Loading…
Reference in New Issue
Block a user