I'm working on a multi-step form using angular UI router and have a bootstrap nav at the top. However, on mobile-sized screens, each pill in the nav occupies its own line due to the amount of text. I want the non-badge content of each pill to disappear on small screens, like shown in the screenshot below.
Is there a CSS-only solution to achieve this instead of adding extra span tags?
Current Behavior:
https://i.sstatic.net/8wKtw.png
Desired Behavior:
https://i.sstatic.net/outF4.png
Appreciate your help!