0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Fixes #6473: Make .input-prepend and .input-append inline-block to match other form states

This commit is contained in:
Mark Otto 2013-01-11 20:42:44 -08:00
parent d3b3b4c48f
commit 56a24027c3
2 changed files with 2 additions and 0 deletions

View File

@ -1646,6 +1646,7 @@ select:focus:invalid:focus {
.input-append,
.input-prepend {
display: inline-block;
margin-bottom: 5px;
font-size: 0;
white-space: nowrap;

View File

@ -422,6 +422,7 @@ select:focus:invalid {
// Allow us to put symbols and text within the input field for a cleaner look
.input-append,
.input-prepend {
display: inline-block;
margin-bottom: 5px;
font-size: 0; // white space collapse hack
white-space: nowrap; // Prevent span and input from separating