Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
ac442023
Commit
ac442023
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes #4591 properly: remove -1px left margin on .input-append .add-on
parent
4775bc91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+5
-1
docs/assets/css/bootstrap.css
less/forms.less
+4
-1
less/forms.less
with
9 additions
and
2 deletions
+9
-2
docs/assets/css/bootstrap.css
+
5
-
1
View file @
ac442023
...
...
@@ -1512,7 +1512,6 @@ select:focus:required:invalid:focus {
.input-prepend
.add-on
,
.input-append
.btn
,
.input-prepend
.btn
{
margin-left
:
-1px
;
vertical-align
:
top
;
-webkit-border-radius
:
0
;
-moz-border-radius
:
0
;
...
...
@@ -1545,6 +1544,11 @@ select:focus:required:invalid:focus {
border-radius
:
3px
0
0
3px
;
}
.input-append
.add-on
,
.input-append
.btn
{
margin-left
:
-1px
;
}
.input-append
.add-on
:last-child
,
.input-append
.btn
:last-child
{
-webkit-border-radius
:
0
3px
3px
0
;
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
4
-
1
View file @
ac442023
...
...
@@ -441,7 +441,6 @@ select:focus:required:invalid {
}
.add-on,
.btn {
margin-left: -1px;
vertical-align: top;
.border-radius(0);
}
...
...
@@ -466,6 +465,10 @@ select:focus:required:invalid {
.uneditable-input {
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
}
.add-on,
.btn {
margin-left: -1px;
}
.add-on:last-child,
.btn:last-child {
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
...
...
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
Menu
Explore
Projects
Groups
Snippets