Remove padding below images

What I’m trying to do

I’m trying to remove the padding below images that Obsidian adds in live preview.

The img elements don’t seem have any classes styling, but the wrapper div does, which is adding the padding.

Things I have tried

I have tried using CSS to set padding and margin to none but it did nothing. I’m sure there’s a way to do it that I’m just missing.