mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
fix #2856: make inputs using .span* classes responsive at <767px layout
This commit is contained in:
parent
2355fd224d
commit
f37d9aeaef
Binary file not shown.
7
docs/assets/css/bootstrap-responsive.css
vendored
7
docs/assets/css/bootstrap-responsive.css
vendored
@ -148,8 +148,8 @@
|
|||||||
.row {
|
.row {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
.row > [class*="span"],
|
[class*="span"],
|
||||||
.row-fluid > [class*="span"] {
|
.row-fluid [class*="span"] {
|
||||||
float: none;
|
float: none;
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
@ -174,8 +174,11 @@
|
|||||||
-ms-box-sizing: border-box;
|
-ms-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
.input-prepend input,
|
||||||
|
.input-append input,
|
||||||
.input-prepend input[class*="span"],
|
.input-prepend input[class*="span"],
|
||||||
.input-append input[class*="span"] {
|
.input-append input[class*="span"] {
|
||||||
|
display: inline-block;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -100,9 +100,9 @@
|
|||||||
.row {
|
.row {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
// Make all columns even
|
// Make all grid-sized elements block level again
|
||||||
.row > [class*="span"],
|
[class*="span"],
|
||||||
.row-fluid > [class*="span"] {
|
.row-fluid [class*="span"] {
|
||||||
float: none;
|
float: none;
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
@ -125,8 +125,11 @@
|
|||||||
.input-block-level();
|
.input-block-level();
|
||||||
}
|
}
|
||||||
// But don't let it screw up prepend/append inputs
|
// But don't let it screw up prepend/append inputs
|
||||||
|
.input-prepend input,
|
||||||
|
.input-append input,
|
||||||
.input-prepend input[class*="span"],
|
.input-prepend input[class*="span"],
|
||||||
.input-append input[class*="span"] {
|
.input-append input[class*="span"] {
|
||||||
|
display: inline-block; // redeclare so they don't wrap to new lines
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user