4.0.0
- Fixed clicking/touching an unfocused cropping image causing a scroll jump in certain situations #173
$mobile-media-query
is now(max-width: 768px), (pointer: coarse)
by default which catches modern touch devices above 768px.- The cropped image has a
max-height: fill-available
so that the image is contained by it's container's height as well as width (in modern browsers) #174
Note: This release is only a breaking change if you've overridden the $mobile-media-query
scss variable, due to it now being the whole query instead of just a single value without brackets (max-width: 768px
).