Skip to content

Commit

Permalink
Merge remote branch 'fork/fix-form-field-overflow'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Apr 10, 2015
2 parents a90b1d5 + c8c9084 commit b0cf049
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions scss/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,30 @@
margin: -$em;
padding: $em;
}

textarea,
input,
select {
max-width: 100%;
}

fieldset {
// The following line fixes fieldset overflow in webkit browsers.
// For further info see:
// http://stackoverflow.com/questions/17408815/fieldset-resizes-wrong-appears-to-have-unremovable-min-width-min-content/17863685#17863685
min-width: 0;
}

// The following lines fixes fieldset overflow bug in Firefox browser.
// For further info, see:
// http://stackoverflow.com/questions/17408815/fieldset-resizes-wrong-appears-to-have-unremovable-min-width-min-content/17863685#17863685
@-moz-document url-prefix() {
fieldset {
display: table-cell;
}
}

section {
width: auto;
}
}

0 comments on commit b0cf049

Please sign in to comment.