aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/type.less18
1 files changed, 10 insertions, 8 deletions
diff --git a/less/type.less b/less/type.less
index 193078c72..60ad793e9 100644
--- a/less/type.less
+++ b/less/type.less
@@ -126,18 +126,20 @@ li {
}
// List options
+
// Unstyled keeps list items block level, just removes list-style
-.list-unstyled,
-// Inline turns list items into inline-block
-.list-inline {
+.list-unstyled {
margin-left: 0;
list-style: none;
}
-// Single-line list items
-.list-inline > li {
- display: inline-block;
- padding-left: 5px;
- padding-right: 5px;
+// Inline turns list items into inline-block
+.list-inline {
+ .list-unstyled();
+ > li {
+ display: inline-block;
+ padding-left: 5px;
+ padding-right: 5px;
+ }
}
// Description Lists