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
  • #18053
Closed
Open
Issue created Oct 25, 2015 by Administrator@rootContributor

v4 navbar with container inside results in extra padding

Created by: Nemo64

I build a simple navbar like shown in the docs with the container inside: http://v4-alpha.getbootstrap.com/components/navbar/#containers

The problem is that in mobile layout, as soon as the container has the size of the page, the content inside the navbar does no longer align with the normal content of the page.

Here the example: http://jsbin.com/fisovineku/1/edit?html,output

a simple workaround is to remove the padding of the navbar but that would require another class on the navbar so it isn't a nice automatic solution.

Assignee
Assign to
Time tracking