Added height:auto to fix a stretching bug.

This is a backport of a bootstrap bugfix and addresses bug 2830