diff --git a/index.html b/index.html index 3f7e346..3c0a856 100644 --- a/index.html +++ b/index.html @@ -89,9 +89,14 @@ color: var(--accent-color); } - /* Google Translate styles */ - .skiptranslate { - /* display: none; */ + /* Google Translate styles + - Hide poorly styled iframes + */ + iframe.skiptranslate { + display: none !important; + } + body { + top: 0px !important; } /* Main content styles */ @@ -468,7 +473,8 @@ function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en', - layout: google.translate.TranslateElement.InlineLayout.SIMPLE + // layout: google.translate.TranslateElement.InlineLayout.SIMPLE + layout: google.translate.TranslateElement.InlineLayout.VERTICAL }, 'google_translate_element'); }