Yes, you would need to use something like extra.less or a direct edit to the template in question.
That's a good example of a very specific thing to want to edit. Style properties weren't really designed to replace editing templates or CSS and how they ended up working in XF1 often created bugs, difficulties, and confusion.