Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #20116
Closed
Open
Issue created Jun 14, 2016 by Administrator@rootContributor

Support for text-only items in navbar

Created by: AaronLS

I have the same issue shown here: https://github.com/twbs/bootstrap/issues/11735

The conclusion stated was that navbar-text is not meant for the li items in a list. ".navbar-text is used directly inside div class="navbar-collapse"" "The .navbar-text is not meant for placement in nav components."

Therefore, when you need an li that is not a link, but is just text, we don't have a class as far as I know that can be applied to ensure it aligns properly in both non-collapsed and collapsed.

It seemed like navbar-text is part way there, but doesn't align properly in collapsed mode. A new navitem-text or something similar would be great to handle this scenario.

Assignee
Assign to
Time tracking