aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-08 16:59:59 -0800
committerMark Otto <[email protected]>2014-02-08 16:59:59 -0800
commit2365717a3d1dfd30ce49fd54965b925062b0e7a4 (patch)
tree970cfcd824b9e1685ce3d3a19feee6265e44e8d5 /less
parent65b10706b32bd969d373fc4b84a9be68a132361e (diff)
parent0da527f169dbf20a30db2a6ae57b479ac867fa6c (diff)
downloadbootstrap-2365717a3d1dfd30ce49fd54965b925062b0e7a4.tar.xz
bootstrap-2365717a3d1dfd30ce49fd54965b925062b0e7a4.zip
Merge pull request #12433 from tagliala/list-inline-first-element-fix
Fix first element padding of list-inline
Diffstat (limited to 'less')
-rw-r--r--less/type.less5
1 files changed, 1 insertions, 4 deletions
diff --git a/less/type.less b/less/type.less
index ca574edc8..5e2a21905 100644
--- a/less/type.less
+++ b/less/type.less
@@ -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;
- }
}
}