diff --git a/source/js/utils.js b/source/js/utils.js index abc50ff..808d838 100644 --- a/source/js/utils.js +++ b/source/js/utils.js @@ -75,6 +75,9 @@ NexT.utils = { box = document.createElement('div'); box.className = 'code-container'; container.wrap(box); + + // add "notranslate" to prevent Google Translate from translating it, which also completely messes up the layout + box.classList.add('notranslate'); } target = box; }