0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

give IE7 inline-block behavior for input-prepend/append

This commit is contained in:
Mark Otto 2012-03-25 14:37:19 -07:00
parent d0526e31fa
commit cbd77d0aeb
3 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -1116,6 +1116,10 @@ select:focus:required:invalid:focus {
.form-inline .input-append,
.form-horizontal .input-append {
display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
margin-bottom: 0;
}
.form-search .hide,

View File

@ -475,6 +475,7 @@ select:focus:required:invalid {
.input-prepend,
.input-append {
display: inline-block;
.ie7-inline-block();
margin-bottom: 0;
}
// Re-hide hidden elements due to specifity