DTooltip button not rounded, icon is not centralized

I have this code:

For some reason, the button is not rounded, nor is the icon in the center:
image

Could someone explain why this is so?

Thanks.

1 Like

Can you inspect? Could be extra margin, could be a space character. Most likely, you need to add the no-text class.

As for rounding, those are only applied via ‘btn-default’, ‘btn-primary’ etc. If this is a button that needs to act and look like a normal button, it needs one of those type classes

Thanks for the tip! btn no-text btn-default worked!

image