mdgriffith / elm-ui

What if you never had to write CSS again?

Home Page:https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`maximum` does not work applied to an image inside a paragraph

jhbrown94 opened this issue · comments

SSCE: https://ellie-app.com/cZXGYnmYNr2a1

Expected behavior
I use width fill |> maximum 256 to clamp image size to 256 pixels. I expect the image to be clamped to 256 pixels. This works when the image is standalone in a column, but not when the image is inside a paragraph.

Versions

  • OS: OS X 10.14.6
  • Browser: Verified on Chrome, Safari
  • Browser Version: chrome - Version 89.0.4389.128 (Official Build) (x86_64); Safari Version 14.0.3 (14610.4.3.1.7)
  • Elm Version: 0.19.1
  • Elm UI Version: 1.1.8

Possibly related to #107, #240