elm-ui
elm-ui copied to clipboard
centerX causes paragraph do not respect parent max-width
If you have paragraph [ width (fill |> maximum 100) ] inside row [ width (fill |> maximum 50) ], then paragraph have width 50px, that is correct.
But if you add centerX to the paragraph then the width expands beyond 50.
https://ellie-app.com/cDzWHGnrnCta1
Expected behavior centerX should not interfere with element width.
Versions
- OS: macOS
- Browser: Chrome 89
- Elm Version: 19.1
- Elm UI Version: 1.1.8