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
  • #14557
Closed
Open
Issue created Sep 07, 2014 by Administrator@rootContributor

navbar form-group in mobile adds extra margin

Created by: fletch3555

Having a .form-group within a .navbar-form produces a margin-bottom: 5px in the xs view. This is obviously to add spacing between adjacent .form-groups, but the spacing looks weird when there's only one element there.

In this fiddle(http://jsfiddle.net/29ywdc1x/1/), I've added some CSS to zero the margin if the .form-group is the :last-child of it's parent. The fiddle uses the 3.2.0 release from bootstrapcdn, but I discovered it while working locally right after syncing with master.

Let me know what you guys think.

Assignee
Assign to
Time tracking