aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/type.less13
1 files changed, 13 insertions, 0 deletions
diff --git a/less/type.less b/less/type.less
index 0aa8c802c..a95d4b983 100644
--- a/less/type.less
+++ b/less/type.less
@@ -105,12 +105,25 @@ ol ul {
li {
line-height: @baseLineHeight;
}
+
+// Remove default list styles
ul.unstyled,
ol.unstyled {
margin-left: 0;
list-style: none;
}
+// Single-line list items
+ul.inline,
+ol.inline {
+ list-style: none;
+ & > li {
+ display: inline-block;
+ padding-left: 5px;
+ padding-right: 5px;
+ }
+}
+
// Description Lists
dl {
margin-bottom: @baseLineHeight;