Skip to content

"disabled" class doesn't disable the link #27380

@matthewspace

Description

@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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions