#Affecting Badge padding when sections are in use

4 messages · Page 1 of 1 (latest)

woeful arch
#

How can I modify the Badge's horizontal padding when the left/right sections have content the same way that Buttons automatically do? It doesn't seem like they have an equivalent data-with-left-section or data-with-right-section attribute.

elder coyote
woeful arch
#

Nice, is it possible to extend/override all Badges to behave that way or would you recommend writing a wrapper component if I wanted to not have to do this every time I used a badge?