Hi Dave š
If you add width: 100% and min-height: 100% underneath the object-fit and object-positioning the map will fill the whole div.
Hope this helps!
Marked as helpful
@Yasmine10 thank you!! That works perfectly. I feel like I tried every combination in my scatter-gun approach to getting that right. I was working with max-width
, which doesn't work in this case. Any reason for min-height
rather than just height
? Both seem to work OK.
@dwhenson Not really, they're both ok to use in this case I think.
Marked as helpful
@Yasmine10 thanks again - had a peek at some of your solutions looking very nice!!