git.iko.soy/typeable/elm-ui
on master help sign in
resolves #232, resolves #228
commitf05fa94d93d300d25f0a28a98d38bedb7c400cdf authormdgriffith <mdgriffith@users.noreply.github.com> dateSun 7 Jun 2020, 09:48 (6 years ago) parent1efe486
1 file changed+11−4
src/Internal/Style.elm+11−4
src/Internal/Style.elm+11−4
@@ -961,10 +961,17 @@ baseSheet =
961961 ]
962962 , Class (dot classes.any ++ dot classes.single ++ dot classes.imageContainer)
963963 [ Prop "display" "block"
964− , Child "img"
965− [ Prop "max-height" "100%"
966− , Prop "max-width" "100%"
967− , Prop "object-fit" "cover"
964+ , Descriptor (dot classes.heightFill)
965+ [ Child "img"
966+ [ Prop "max-height" "100%"
967+ , Prop "object-fit" "cover"
968+ ]
969+ ]
970+ , Descriptor (dot classes.widthFill)
971+ [ Child "img"
972+ [ Prop "max-width" "100%"
973+ , Prop "object-fit" "cover"
974+ ]
968975 ]
969976 ]
970977 , Class (dot classes.any ++ ":focus")