Skip to content

Commit

Permalink
Merge pull request twbs#12433 from tagliala/list-inline-first-element…
Browse files Browse the repository at this point in the history
…-fix

Fix first element padding of list-inline
  • Loading branch information
mdo committed Feb 9, 2014
2 parents 65b1070 + 0da527f commit 2365717
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions less/type.less
Expand Up @@ -165,15 +165,12 @@ ol {
// Inline turns list items into inline-block
.list-inline {
.list-unstyled();
margin-left: -5px;

> li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;

&:first-child {
padding-left: 0;
}
}
}

Expand Down

0 comments on commit 2365717

Please sign in to comment.