Nice work, Rasana! I, too, was finding the badge a bit wide for some uses so I’ve been adding a width parameter to the html code:
And here it is with the width parameter reducing its width to 160 pixels:
So far, this has worked well wherever I’ve tried it.