diff options
| author | Mark Otto <[email protected]> | 2014-01-24 11:55:59 -0600 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-01-24 11:55:59 -0600 |
| commit | 64e81324261548a8de8cda5fde4b87d0f7a8f8fb (patch) | |
| tree | f880097f05e884c7aaaa128a2e4274bcf4621c54 /less/forms.less | |
| parent | bd6751e932eebecb087880a3d999a13289ce7372 (diff) | |
| download | bootstrap-64e81324261548a8de8cda5fde4b87d0f7a8f8fb.tar.xz bootstrap-64e81324261548a8de8cda5fde4b87d0f7a8f8fb.zip | |
Fix #12359: Reset min-width on fieldsets so that they don't break responsive tables and behave more like standard block level elements
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index 6560c8c39..687d1f437 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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 { |
