TalksLab / metro-bootstrap

Twitter Bootstrap with Metro style
http://talkslab.github.io/metro-bootstrap
Apache License 2.0
1.04k stars 362 forks source link

Jumbotron doesn't wrap text #37

Closed balassy closed 10 years ago

balassy commented 10 years ago

The paragraph content ("This is a simple hero unit...") in the Jumbotron horizontally overflows the container instead of automatically breaking to lines.

Tested in IE11 and FF24 on Windows 8.1.

Chrome does some line breaking but the content still overflows.

Spinarooni commented 10 years ago

The example at http://talkslab.com/metro-bootstrap/components.html#jumbotron currently contains a div with a container class within it. In BS 3 that will cause the Jumbotron to go "full width" (http://getbootstrap.com/components/#jumbotron). Removing the container class from the div fixes the issue.

balassy commented 10 years ago

Thank you for fixing it. Glad to see that it was only a markup problem and not a CSS issue.

ghost commented 10 years ago

Had this same issue today and removing the container div resolved it. Many thanks!