1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

in responsive layouts <767px, ensure inputs are not larger than 100% with box-sizing and a max-width

This commit is contained in:
Mark Otto
2012-03-11 14:41:52 -07:00
parent bf6cdff88a
commit a97b9c1122
5 changed files with 23 additions and 0 deletions

View File

@@ -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%;
}
}