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
cddca18f
Commit
cddca18f
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#6174
: Caret alignment in small and mini buttons
parent
9d985978
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+5
-2
docs/assets/css/bootstrap.css
less/button-groups.less
+4
-2
less/button-groups.less
with
9 additions
and
4 deletions
+9
-4
docs/assets/css/bootstrap.css
+
5
-
2
View file @
cddca18f
...
@@ -3744,8 +3744,6 @@ input[type="submit"].btn.btn-mini {
...
@@ -3744,8 +3744,6 @@ input[type="submit"].btn.btn-mini {
margin-left
:
0
;
margin-left
:
0
;
}
}
.btn-mini
.caret
,
.btn-small
.caret
,
.btn-large
.caret
{
.btn-large
.caret
{
margin-top
:
6px
;
margin-top
:
6px
;
}
}
...
@@ -3756,6 +3754,11 @@ input[type="submit"].btn.btn-mini {
...
@@ -3756,6 +3754,11 @@ input[type="submit"].btn.btn-mini {
border-left-width
:
5px
;
border-left-width
:
5px
;
}
}
.btn-mini
.caret
,
.btn-small
.caret
{
margin-top
:
8px
;
}
.dropup
.btn-large
.caret
{
.dropup
.btn-large
.caret
{
border-bottom-width
:
5px
;
border-bottom-width
:
5px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/button-groups.less
+
4
-
2
View file @
cddca18f
...
@@ -164,8 +164,6 @@
...
@@ -164,8 +164,6 @@
margin-left: 0;
margin-left: 0;
}
}
// Carets in other button sizes
// Carets in other button sizes
.btn-mini .caret,
.btn-small .caret,
.btn-large .caret {
.btn-large .caret {
margin-top: 6px;
margin-top: 6px;
}
}
...
@@ -174,6 +172,10 @@
...
@@ -174,6 +172,10 @@
border-right-width: 5px;
border-right-width: 5px;
border-top-width: 5px;
border-top-width: 5px;
}
}
.btn-mini .caret,
.btn-small .caret {
margin-top: 8px;
}
// Upside down carets for .dropup
// Upside down carets for .dropup
.dropup .btn-large .caret {
.dropup .btn-large .caret {
border-bottom-width: 5px;
border-bottom-width: 5px;
...
...
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