aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/type.less6
1 files changed, 6 insertions, 0 deletions
diff --git a/less/type.less b/less/type.less
index 58dd545c1..c01a6fe0c 100644
--- a/less/type.less
+++ b/less/type.less
@@ -153,13 +153,19 @@ ol {
padding-left: 0;
list-style: none;
}
+
// Inline turns list items into inline-block
.list-inline {
.list-unstyled();
+
> li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
+
+ &:first-child {
+ padding-left: 0;
+ }
}
}