bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Grid columns - Horizontal scroll bar bug

Open karthikeyanar opened this issue 13 years ago • 5 comments

bs-error My css changes:

.container { max-width: none !important; }

My html code

Col lg 4

        <div class="col-lg-4" style="background-color:yellow">
                <h1>
                    Col lg 4
                </h1>
        </div>
        <div class="col-lg-4" style="background-color:black">
                <h1>
                    Col lg 4
                </h1>
        </div>
    </div>
</div>

I see the Horizontal scrollbar in the page

why ? plz help

karthikeyanar avatar Aug 19 '13 13:08 karthikeyanar

Update to the latest v3—this isn't an issue anymore.

mdo avatar Aug 19 '13 15:08 mdo

It's still an issue! Horizontal scroll is back in 3!

westwind79 avatar Sep 10 '13 22:09 westwind79

@nwestwind have you tested that on master? I think @mdo refers to that version and not the official released 3.0

ggam avatar Sep 11 '13 10:09 ggam

@ggam After hours of reading and testing out the new HTML/CSS it's now clear that I had to have a container around every row otherwise the horizontal scroll shows up and seemed to be difficult to find in the documentation that it's required. My apologies that I said something, I was just super pissed that I spent all that time trying to "fix" my code to find the bug.

westwind79 avatar Sep 11 '13 16:09 westwind79

@nwestwind probably a note about the need of wrapping rows around container should be added to the docs. There are a couple users complaining about a lack of clear documentation of the new grid system. Anyway the good thing is that, thanks to your comment, other people with the same problem will find the solution faster just by searching on existing issues :).

ggam avatar Sep 11 '13 16:09 ggam