Topic: Align nav-link pill to the right

1robin priority asked 6 months ago

Expected behavior Both pills are aligned to the right and left with equal padding and margin. Actual behavior Right pill has little gap on the right (cf. picture) Same behavior happens on your examples. Resources (screenshots, code snippets etc.) enter image description here

1robin priority answered 6 months ago

Same problem on your website's examples.

enter image description here

1robin priority commented 6 months ago

Do you understand the issue?

Kamila Pieńkowska staff commented 6 months ago

No, I don't but If you want nav-pills to be symmetrical you can add style: .nav-pills { margin-right: -0.5rem; }

1robin priority commented 6 months ago

Well, it seems that you did understand... I just wonder why it is not symmetrical by default.

Kamila Pieńkowska staff answered 6 months ago

Can you link this example or prepare a snippet?

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: Macbook
  • Browser: Firefox 115.6.0esr (64-bit)
  • OS: Debian
  • Provided sample code: No
  • Provided link: No