Fix IE8/9 issue where form elements don't display

pull/705/head
James Agnew 10 years ago committed by Justin Richer
parent 176a9a1034
commit 28d9b925b2

@ -129,11 +129,18 @@ h1,label {
.input-prepend.input-block-level > input { .input-prepend.input-block-level > input {
box-sizing: border-box; /* use bootstrap mixin or include vendor variants */ box-sizing: border-box; /* use bootstrap mixin or include vendor variants */
-moz-box-sizing: border-box; /* for Firefox */ -moz-box-sizing: border-box; /* for Firefox */
display: table; /* table-cell is not working well in Chrome for small widths */
min-height: inherit; min-height: inherit;
width: 100%; width: 100%;
} }
/* This block applies to Chrome only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
.input-append.input-block-level > input,
.input-prepend.input-block-level > input {
display: table; /* table-cell is not working well in Chrome for small widths */
}
} }
.input-append.input-block-level > input { .input-append.input-block-level > input {
border-right: 0; border-right: 0;
} }

Loading…
Cancel
Save