How to get rid of the new theme padding?

I managed to fix the awful new dark theme by copying it from an old version (though some colors looked different even thought they are identical LMAO) but I can’t seem to get rid of this nonsense padding that just under utilizes panel space. Where would be the option for that?

padding