.hhc-wheaton-embed { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(27,55,71,.25); background: #fff; } .hhc-wheaton-embed iframe { display: block; width: 100%; border: 0; min-height: 100vh; } @media (max-width: 640px) { .hhc-wheaton-embed iframe { min-height: 1400px; } }
(function () { function resizeFrame() { var frame = document.getElementById('hhc-wheaton-frame'); if (!frame) return; try { var doc = frame.contentDocument || frame.contentWindow.document; var h = Math.max(doc.body.scrollHeight, doc.documentElement.scrollHeight, 600); frame.style.height = h + 'px'; } catch (e) { frame.style.height = (window.innerWidth = 8) clearInterval(timer); }, 500); })();