Skip to content

Instantly share code, notes, and snippets.

(() => {
//observing the dom enables the fix on situations other than manually resizing the panes,
//but it is slower as it will observe changes in the dom often
const observer_enabled = true;
//sometimes the "maximum" class is not added to .monaco-sash,
//so the .split-view-view height or width has to be tested
//use -1 to not test
const minimum_height = 70;
const minimum_width = 220;