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
  • #935
Closed
Open
Issue created Jan 09, 2012 by Administrator@rootContributor

`cursor: pointer` instead of `href="#"`?

Created by: tkazec

In both master and 2.0-wip, Alerts (and probably some other components) use <a class="close" href="#">×</a> for close buttons. Using href="#" to display the correct cursor can be problematic (clicking on it changes the URL and therefore adds to the tab history, scrolls the page to the top, etc), but can be replaced with cursor: pointer in CSS.

Is there any reason to not do this, or is it just a change waiting to be made? I can submit a pull request.

Assignee
Assign to
Time tracking