Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
56a24027
Commit
56a24027
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#6473
: Make .input-prepend and .input-append inline-block to match other form states
parent
d3b3b4c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+1
-0
docs/assets/css/bootstrap.css
less/forms.less
+1
-0
less/forms.less
with
2 additions
and
0 deletions
+2
-0
docs/assets/css/bootstrap.css
+
1
-
0
View file @
56a24027
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
1
-
0
View file @
56a24027
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment