Hi!
I'm building a form that I plan to embed on a website. For some reason it seems to always render in mobile rather than desktop view regardless of the viewport.
Demo
html with embed code below.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Embedded Form</title>
<style>
body, html {
margin: 0;
padding: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
background: white;
}
.iframe-container {
height: 100%;
width: 100%;
background: white;
}
iframe {
width: 100%;
height: calc(100% + 80px);
border: none;
transform: translateY(-57px);
margin-bottom: -57px;
}
</style>
</head>
<body>
<div class="iframe-container">
<iframe src="https://whatsgood.retool.com/embedded/public/ae5dee7a-6520-43dc-bb12-9940b61f873c/page1" frameborder="0"></iframe>
</div>
</body>
</html>