T
T
Taras Kurbatov2019-07-12 13:38:45
JavaScript
Taras Kurbatov, 2019-07-12 13:38:45

Why does Yandex map incorrectly calculate the height?

Good afternoon. Maybe someone has come across this.
Why does Yandex map incorrectly calculate the height?
The map should be full screen, but sometimes the wrong height is set to 100px or more.
5d28633365fa0058562489.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Lone Ice, 2019-07-12
@daemonhk

Set the height for the map container to a fixed one, for example .map-container{ height: 300px; } and inside it is your map.

V
vit134, 2019-07-12
@vit134

Try setting the height to vh (height: 100vh)?

D
Dmitry Pyrkin, 2017-10-09
@ps1panda

$('.navbar-nav a').click(function(){
$('.navbar-collapse').hide()
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question