Open pravdomil opened 3 years ago
I found no way ho to do uncropped Element.Image (object-fit: contain), there seems to be only object-fit: cover.
uncropped Element.Image
object-fit: contain
object-fit: cover
Related: https://github.com/mdgriffith/elm-ui/issues/62 https://github.com/mdgriffith/elm-ui/commit/fe2b14b87e0f15cf1ff28e29c9f7d93f0235fcc3
Expected behavior Have similar API as background has: image, uncropped, tiled, tiledX, tiledY.
image, uncropped, tiled, tiledX, tiledY
Versions
I found no way ho to do
uncropped Element.Image
(object-fit: contain
), there seems to be onlyobject-fit: cover
.Related: https://github.com/mdgriffith/elm-ui/issues/62 https://github.com/mdgriffith/elm-ui/commit/fe2b14b87e0f15cf1ff28e29c9f7d93f0235fcc3
Expected behavior Have similar API as background has:
image, uncropped, tiled, tiledX, tiledY
.Versions