# DTooltip button not rounded, icon is not centralized

**URL:** https://meta.discourse.org/t/dtooltip-button-not-rounded-icon-is-not-centralized/396240
**Category:** Development
**Created:** [February 17, 2026, 3:39am UTC](https://meta.discourse.org/t/dtooltip-button-not-rounded-icon-is-not-centralized/396240 "2026-02-17T03:39:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 17, 2026, 3:39am UTC](https://meta.discourse.org/t/dtooltip-button-not-rounded-icon-is-not-centralized/396240/1 "2026-02-17T03:39:48Z")

</div>

I have this code:

> <https://github.com/NateDhaliwal/show-groups-with-access-to-restricted-categories/blob/main/javascripts/discourse/connectors/category-navigation/show-tooltip-button.gjs#L33>

For some reason, the button is not rounded, nor is the icon in the center:  
 ![image](https://global.discourse-cdn.com/meta/original/4X/b/6/d/b6d6f3c976db3ea6ceed27a8e6f45ee25001d90f.png)

Could someone explain why this is so?

Thanks.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [February 17, 2026, 4:44am UTC](https://meta.discourse.org/t/dtooltip-button-not-rounded-icon-is-not-centralized/396240/2 "2026-02-17T04:44:29Z")

</div>

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

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 17, 2026, 5:43am UTC](https://meta.discourse.org/t/dtooltip-button-not-rounded-icon-is-not-centralized/396240/3 "2026-02-17T05:43:16Z")

</div>

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

![image](https://global.discourse-cdn.com/meta/original/4X/2/1/c/21cb71283b06f1230a815c2492e8f34269f1c674.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 19, 2026, 5:44am UTC](https://meta.discourse.org/t/dtooltip-button-not-rounded-icon-is-not-centralized/396240/4 "2026-03-19T05:44:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
