Updated code, since they moved onto obfuscated class names:
(function(){
let style = `<style>
.m-Hp5xET._2vfTdh9o {
max-height: 420px;
}
._3J-qBubo._2GINOaoP._3yaQ6jOH ._3yaQ6jOH,
._3J-qBubo._3uTdWl5d ._3yaQ6jOH {
width: auto!important;
min-width: 480px;
max-width: 1200px!important;
}
</style>`;
document.head.insertAdjacentHTML("beforeend", style);
})();
It ain’t perfect, but it seems to do the job for now.
UPD: oh sorry, it also makes all popup menus wider. Oh well, don’t have much time to fix that now; just need larger formula spaces.