Skip to content

Loading…

Fixed small button caret and moved less code to dropdowns #2402

Closed
wants to merge 1 commit into from

2 participants

@charettes

Small button caret is not aligned with baseline (on FF and Chrome).

You can test it by adding btn-small class to dropdown buttons at http://twitter.github.com/bootstrap/components.html using an inspector of your choice.

I also moved the less code to dropdown since non-split dropdowns are no split buttons.

@mdo
Bootstrap member
mdo commented

Merged into 2.0.2-wip.

@mdo mdo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 4 additions and 5 deletions.
  1. +0 −5 less/button-groups.less
  2. +4 −0 less/dropdowns.less
View
5 less/button-groups.less
@@ -141,8 +141,3 @@
}
}
-// Small button dropdowns
-.btn-small .caret {
- margin-top: 4px;
-}
-
View
4 less/dropdowns.less
@@ -37,6 +37,10 @@
.open.dropdown .caret {
.opacity(100);
}
+// Small button dropdowns
+.btn-small .caret {
+ margin-top: 6px;
+}
// The dropdown menu (ul)
.dropdown-menu {
position: absolute;
Something went wrong with that request. Please try again.