0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Merge pull request #12433 from tagliala/list-inline-first-element-fix

Fix first element padding of list-inline
This commit is contained in:
Mark Otto 2014-02-08 16:59:59 -08:00
commit 2365717a3d

View File

@ -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;
}
}
}