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
  • #4644
Closed
Open
Issue created Aug 23, 2012 by Administrator@rootContributor

Mobile resolution navbar-static-top navbars doesn't occupy the full width

Created by: beaumartinez

Desktop resolution navbars occupy the full width—

Desktop resolution navbar

Mobile resolution navbars, however, have a bit of padding. They don't occupy the full width—

Mobile resolution navbar

They did in 2.0.4, though—so I assume this is a bug.

Edit: The bug happens using navbar-static-top—and it happens on both 2.0.4 and 2.1. navbar-fixed-top works fine.

Edit: Here's the HTML—

<div class="navbar navbar-static-top">
    <div class=navbar-inner>
        <div class=container>
            <a class="btn btn-navbar" data-toggle=collapse data-target=.nav-collapse>
                <span class=icon-bar></span>
                <span class=icon-bar></span>
                <span class=icon-bar></span>
            </a>

            <a class=brand>Retweet Dem Faves™</a>

            <nav class=nav-collapse>
                <ul class=nav>
                    <li><a href="/home/">Home</a>
                    <li><a href="/settings/">Settings</a>
                </ul>
                <ul class="nav pull-right">
                    <li class=dropdown>
                        <a href class=dropdown-toggle data-toggle=dropdown>@beaumartinez <b class=caret></b></a>
                        <ul class=dropdown-menu>
                            <li><a href="/log-out/">Log out</a>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
Assignee
Assign to
Time tracking