Permalink
Browse files

Fix #12359: Reset min-width on fieldsets so that they don't break re…

…sponsive tables and behave more like standard block level elements
  • Loading branch information...
mdo committed Jan 24, 2014
1 parent bd6751e commit 64e81324261548a8de8cda5fde4b87d0f7a8f8fb
View
@@ -1617,6 +1617,7 @@ table th[class*="col-"] {
}
}
fieldset {
+ min-width: 0;
padding: 0;
margin: 0;
border: 0;

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -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 {

0 comments on commit 64e8132

Please sign in to comment.