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
  • #27380
Closed
Open
Issue created Oct 09, 2018 by Administrator@rootContributor

"disabled" class doesn't disable the link

Created by: matthewspace

One feature that I'd like to request is regarding the .nav-link.disabled class.

code

Adding the disabled class to the link only changes the color of the link; however it would be convenient if the class kept the default mouse pointer state and when clicked it wouldn't redirect you to the specified URL. This is what it currently looks like when you hover your mouse over the disabled link:

screenshot

I'd say changing the .nav-link.disabled class up a bit would be nice.

.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}
Assignee
Assign to
Time tracking