Skip to content

Instantly share code, notes, and snippets.

@kemeny
Created September 5, 2019 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kemeny/b99e0c54e60274722e7bae7abce2a4b9 to your computer and use it in GitHub Desktop.
Save kemeny/b99e0c54e60274722e7bae7abce2a4b9 to your computer and use it in GitHub Desktop.
<style>
/*
This css fixes the code insert for typeform embeds on unbounce sites.
Forms display full screen on mobile. Not sure if this is the best way to approach the problem.
Hope to get comments and a better solution.
*/
@media only screen and (max-width: 736px)
{
/*lp-code is unbounce code embed. 462 identifies mobile width */
#lp-code-462 {
width:100% !important;
min-width:100% !important;
margin-left:0px !important;
position: initial !important;
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment