A
A
ArthurSuhov2020-07-20 21:26:11
css
ArthurSuhov, 2020-07-20 21:26:11

How to change the height of the map API?

The width of the map turns out to be adaptive, but the height remains unchanged and does not respond to changes in the size of the container; on mobile devices, the map just gets in the way. I read the documentation from Yandex, but still could not understand.

https://codepen.io/ArthurSukhov/pen/jOWXGEO

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Litvinenko, 2020-07-20
@ArthurSuhov

Well, you yourself set it a minimum height of 720 pixels. Reduce it on media queries as you need it to be on mobile

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question