Commit 56a24027 authored by Mark Otto's avatar Mark Otto
Browse files

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

parent d3b3b4c4
Showing with 2 additions and 0 deletions
+2 -0
...@@ -1646,6 +1646,7 @@ select:focus:invalid:focus { ...@@ -1646,6 +1646,7 @@ select:focus:invalid:focus {
.input-append, .input-append,
.input-prepend { .input-prepend {
display: inline-block;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 0; font-size: 0;
white-space: nowrap; white-space: nowrap;
......
...@@ -422,6 +422,7 @@ select:focus:invalid { ...@@ -422,6 +422,7 @@ select:focus:invalid {
// Allow us to put symbols and text within the input field for a cleaner look // Allow us to put symbols and text within the input field for a cleaner look
.input-append, .input-append,
.input-prepend { .input-prepend {
display: inline-block;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 0; // white space collapse hack font-size: 0; // white space collapse hack
white-space: nowrap; // Prevent span and input from separating white-space: nowrap; // Prevent span and input from separating
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment