It looks like the margins don’t work properly when defined in a style class. Both labels on the attached screenprint have margins set at 3 pixels all around.
The right button is defined ‘normally’ in the properties. The left button has a css attached…