Skip to content

Commit

Permalink
Fix #12359: Reset min-width on fieldsets so that they don't break res…
Browse files Browse the repository at this point in the history
…ponsive tables and behave more like standard block level elements
  • Loading branch information
mdo committed Jan 24, 2014
1 parent bd6751e commit 64e8132
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions less/forms.less
Expand Up @@ -11,6 +11,10 @@ fieldset {
padding: 0;
margin: 0;
border: 0;
// Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,
// so we reset that to ensure it behaves more like a standard block element.
// See https://github.com/twbs/bootstrap/issues/12359.
min-width: 0;
}

legend {
Expand Down

0 comments on commit 64e8132

Please sign in to comment.