Commit 64e81324 authored by Mark Otto's avatar Mark Otto
Browse files

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

Fix #12359: Reset min-width on fieldsets so that they don't break responsive tables and behave more like standard block level elements
parent bd6751e9
Showing with 7 additions and 2 deletions
+7 -2
......@@ -1617,6 +1617,7 @@ table th[class*="col-"] {
}
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment