diff options
| author | Mark Otto <[email protected]> | 2012-03-11 14:41:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-11 14:41:52 -0700 |
| commit | a97b9c112238d3f146276a97998ed5c2bb1bc1bc (patch) | |
| tree | 5bce0bc1714cd3be11f1be0ad9bad6ade702327e /less/responsive.less | |
| parent | bf6cdff88a273b912567e37eb6b4809c65efd18e (diff) | |
| download | bootstrap-a97b9c112238d3f146276a97998ed5c2bb1bc1bc.tar.xz bootstrap-a97b9c112238d3f146276a97998ed5c2bb1bc1bc.zip | |
in responsive layouts <767px, ensure inputs are not larger than 100% with box-sizing and a max-width
Diffstat (limited to 'less/responsive.less')
| -rw-r--r-- | less/responsive.less | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/less/responsive.less b/less/responsive.less index f321891e8..0003cd6d0 100644 --- a/less/responsive.less +++ b/less/responsive.less @@ -188,6 +188,17 @@ width: auto; margin: 0; } + + // FORM FIELDS + // ----------- + // Make them behave like divs + input, + textarea, + select, + .uneditable-input { + .box-sizing(border-box); + max-width: 100%; + } } |
