• Mark Otto's avatar
    Rework navbar padding and margins for right aligned last-child elements · 5a036552
    Mark Otto authored
    This slight reworking of the navbar spacing was brought about by a
    problem noted in #11530: use of `.navbar-form.navbar-right` leaves an
    extra 15px of space on the right.
    
    Here’s what’s new:
    
    * Removed the `padding` on `.navbar-collapse` within static top, fixed
    top, and fixed bottom navbars. Meaning, it’s still there for the
    default navbar. This was the root cause of the extra 15px padding for
    navbar forms.
    * As part of this, I also replaced the existing negative margin
    overrides for last-child elements with more contextual ones within
    their sub-components.
    
    Overall not too different, but should be more effective now and easier
    to work with now.
    
    For example of new changes, see http://jsbin.com/odeSiSo/1/.
    5a036552
Name
Last commit
Last update
_includes Loading commit data...
_layouts Loading commit data...
dist Loading commit data...
docs-assets Loading commit data...
examples Loading commit data...
fonts Loading commit data...
js Loading commit data...
less Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CNAME Loading commit data...
CONTRIBUTING.md Loading commit data...
DOCS-LICENSE Loading commit data...
Gruntfile.js Loading commit data...
LICENSE Loading commit data...
LICENSE-MIT Loading commit data...
README.md Loading commit data...
_config.yml Loading commit data...
about.html Loading commit data...
bower.json Loading commit data...
browserstack.json Loading commit data...
components.html Loading commit data...
composer.json Loading commit data...
css.html Loading commit data...
customize.html Loading commit data...
getting-started.html Loading commit data...
index.html Loading commit data...
javascript.html Loading commit data...
package.json Loading commit data...