bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

.container inside .navbar-inner has incorrect width

Open jmzrlz opened this issue 13 years ago • 3 comments

A similar issue existed in 2.0.x if I remember correctly.

See here: http://jsfiddle.net/z4rW9/

Resize the result area to be more than 979px wide so you get the same rules I have.

The following causes it to be full width of the page: .navbar .container { width:auto; }

Disabling this rule results in a correct width.

jmzrlz avatar Jun 06 '13 11:06 jmzrlz

Have you tried putting the entire navbar itself within another .container ?

cvrebert avatar Jun 06 '13 16:06 cvrebert

I was under the impression that would make the .navbar also a fixed width. The aim here is to have a full width bar with a fixed width inner.

This is possible with variants of the navbar such as the static-top one.

jmzrlz avatar Jun 06 '13 19:06 jmzrlz

This is no longer an issue in v3.

mdo avatar Jun 09 '13 03:06 mdo