Why Flexslider does not adapt when resizing the browser window?

Hello, initialized flexslider. When reducing the browser window appears scrolling.
Here is the code:
$(window).load(function() {
$('.mainScreen').flexslider({
 animation: "slide",
 directionNav: true,
 controlNav: false,
 prevText: "",
 nextText: "",
 controlsContainer: $('.flexslider'),
 smoothHeight: true,
 slideshow: false,
 slideshowSpeed: 2000,
 pauseOnAction: true
});
});

How to make so that it is adapted when narrowing the window?

Thank you.
June 27th 19 at 15:13
1 answer
June 27th 19 at 15:15
as an option - you pictures asked a fixed size. and so little understood. throw an example at https://jsfiddle.net/

Find more questions by tags CSSHTMLJavaScriptjQuery