How to adapt the height of an iframe with fancybox in Chrome?

0

I am programming a website and I am using fancybox (latest version) so that when I click on an image, an html will open. For that I used the iframe option that brings fancybox. Now, my problem is that in Mozilla Firefox the html adapts perfectly in both width and height, however, in Chrome the width is well adjusted but the height extends more than it should, leaving a more extensive html.

I leave an image of each browser so that it is understood:

Mozilla Firefox (marked in blue is the space that is fine):

Google Chrome (marked in red is what's missing):

EDIT:

Index code:

HTML displayed:

    
asked by Nicolás Simeoni 13.07.2018 в 00:53
source

0 answers