Skip to content

Commit

Permalink
remove the unused text-indent on dropdown carets
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Mar 12, 2012
1 parent 0f23883 commit 67714d8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
4 changes: 1 addition & 3 deletions docs/assets/css/bootstrap.css
Expand Up @@ -1750,15 +1750,13 @@ table .span24 {
display: inline-block;
width: 0;
height: 0;
text-indent: -99999px;
*text-indent: 0;
vertical-align: top;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #000000;
opacity: 0.3;
filter: alpha(opacity=30);
content: "\2193";
content: "";
}
.dropdown .caret {
margin-top: 8px;
Expand Down
6 changes: 1 addition & 5 deletions less/dropdowns.less
Expand Up @@ -20,16 +20,12 @@
display: inline-block;
width: 0;
height: 0;
text-indent: -99999px;
// IE7 won't do the border trick if there's a text indent, but it doesn't
// do the content that text-indent is hiding, either, so we're ok.
*text-indent: 0;
vertical-align: top;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid @black;
.opacity(30);
content: "\2193";
content: "";
}

// Place the caret
Expand Down

0 comments on commit 67714d8

Please sign in to comment.