Skip to content

Commit 78790da

Browse files
committed
fix resizing issues from incorrectly changing <767px grid classes to inline-block, fix height issue on textareas
1 parent e5187e1 commit 78790da

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

docs/assets/css/bootstrap-responsive.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,15 @@
169169
}
170170
[class*="span"],
171171
.row-fluid [class*="span"] {
172-
display: inline-block;
172+
display: block;
173173
float: none;
174174
width: auto;
175175
margin-left: 0;
176176
}
177+
.row-fluid .input-prepend [class*="span"],
178+
.row-fluid .input-append [class*="span"] {
179+
display: inline-block;
180+
}
177181
.input-large,
178182
.input-xlarge,
179183
.input-xxlarge,

docs/assets/css/bootstrap.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,10 @@ textarea {
802802
width: 210px;
803803
}
804804

805+
textarea {
806+
height: auto;
807+
}
808+
805809
textarea,
806810
input[type="text"],
807811
input[type="password"],

less/forms.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ input,
9494
textarea {
9595
width: 210px;
9696
}
97+
// Reset height since textareas have rows
98+
textarea {
99+
height: auto;
100+
}
97101
// Everything else
98102
textarea,
99103
input[type="text"],

less/responsive-767px-max.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,14 @@
120120
[class*="span"],
121121
.row-fluid [class*="span"] {
122122
float: none;
123-
display: inline-block;
123+
display: block;
124124
width: auto;
125125
margin-left: 0;
126126
}
127+
.row-fluid .input-prepend [class*="span"],
128+
.row-fluid .input-append [class*="span"] {
129+
display: inline-block;
130+
}
127131

128132
// FORM FIELDS
129133
// -----------

0 commit comments

Comments
 (0)