Google Translate widget resizing embedded form on website

I inserted the code below in an embedded form on our website and it seems to be adding extra whitespace to or cutting off the bottom of the form. Anyone else run into this and have a fix? Thanks!

 
<div id="google_translate_element" onclick="javascript&colon;void(0);return false"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
 new google.translate.TranslateElement({
  // set the following line to the original language:
  pageLanguage: 'en',
  // limit the languages by removing the '//' and listing them:
includedLanguages: 'es',
  layout: google.translate.TranslateElement.InlineLayout.SIMPLE
 }, 'google_translate_element');
}
</script>
 
Screenshot 2024-01-08 082904.png
1 0 230
0 REPLIES 0