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
  • #21956
Closed
Open
Issue created Feb 10, 2017 by Administrator@rootContributor

Navbar nav-link hardcoded padding

Created by: coder4life

There is general variable for padding of the .nav-links. However in navbar this padding is being hardcoded when navbar-toggleable-* is used. Specifically look at https://github.com/twbs/bootstrap/blob/v4-dev/scss/_navbar.scss#L155. No matter what variable is set for nav-links it will always be the same because of the heightened priority of CSS rules.

Proposal to fix this. Because navbar is a special type of navigation I suggest $navbar-link-padding variable to differentiate the padding from normal navs, which have different visual flow requirements.

That or copy the entire source file which seems a bit impractical. Parameters makes a lot more sense

Assignee
Assign to
Time tracking