Align nav-link pill to the right


Topic: Align nav-link pill to the right

1robin pro premium priority asked 11 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


Kamila Pieńkowska staff answered 11 months ago

Can you link this example or prepare a snippet?


1robin pro premium priority answered 11 months ago

Same problem on your website's examples.

enter image description here


1robin pro premium priority commented 11 months ago

Do you understand the issue?


Kamila Pieńkowska staff commented 11 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 pro premium priority commented 11 months ago

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


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • 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