]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Let .navbar-wrapper flow in Carousel example
authorRoss Allen <reallen@gmail.com>
Thu, 18 Jul 2013 21:57:27 +0000 (14:57 -0700)
committerRoss Allen <reallen@gmail.com>
Thu, 18 Jul 2013 21:57:27 +0000 (14:57 -0700)
commit1a2ef331fdbe0a9f1e886146eba6d750f0ea5d3d
treeacb7f0aaa16a074b314a56e782abf8529cfd001a
parent0a1c46a12c628301f18bf5b8b394aaae1c188eb4
Let .navbar-wrapper flow in Carousel example

A .navbar-wrapper followed by a .carousel works well in this example,
but when the navbar is not followed by a carousel, content flows
underneath the navbar because it is absolutely positioned.

Letting .navbar-wrapper be part of the flow and moving the negative
margin to the .carousel to bring it underneath the navbar makes these
example styles suitable for pages without carousels.
carousel/example.css