tools: fix CJS/ESM toggle on small screens
Alternative to https://github.com/nodejs/node/pull/43495. Opening as draft because all.html
changes are not yet implemented, I'd like to first get some feedback whether that's something we want to do or not.
Fixes: https://github.com/nodejs/node/issues/43468 Co-authored-by: Moshe Atlow moshe@atlow.co.il