From 64e81324261548a8de8cda5fde4b87d0f7a8f8fb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 24 Jan 2014 11:55:59 -0600 Subject: Fix #12359: Reset min-width on fieldsets so that they don't break responsive tables and behave more like standard block level elements --- less/forms.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'less/forms.less') 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 { -- cgit v1.2.3