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
  • #11488
Closed
Open
Issue created Nov 15, 2013 by Administrator@rootContributor

Row directly in body

Created by: zeleznypa

If you want to make onepage layout and separate each logical block by full width background color, you will have to use "row" directly in body and inside this row will be container. But there is margin-right: -15px that make horizontal scrollbar (Firefox 25.0).

<body>
    <div class="row" id="header" style="background-color: #eee;">
      <div class="container">
        <h1>Company name</h1>
      </div>
    </div>
    <div class="row" id="contact">
      <div class="container">
        <h2>Contact form</h2>
      </div>
    </div>
</body>

Please add following simple fix:

body > .row {
    margin-left: 0;
    margin-right: 0;
}
Assignee
Assign to
Time tracking