P
P
Pavel Voronyuk2015-12-08 13:58:54
JavaScript
Pavel Voronyuk, 2015-12-08 13:58:54

How to make community news widget responsive in height?

Tell me how to make the height of the widget adaptive. Those. for it to grow. I set the value "auto" in the script, it does not help (
bc896aff19214128b2a1ab687628e154.PNG
and here is the link

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
creatoroftheworld, 2015-12-08
@creatoroftheworld

Try dynamically using jQuery to calculate the height that the widget should occupy, and the iframe and its other descendants, who have a fixed height - overwrite with the same jqeury.

S
Sergey Virchenko, 2015-12-08
@SerjVirchenko

either jquery determine the height of the screen and set, or else try iframe set the height to 100vh

M
Mikhail Zakharov, 2015-12-08
@cashalot

position: absolute;
top: 0;
bottom: 0;

or flex

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question