aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/assets/css/bootstrap.css6
-rw-r--r--less/type.less18
2 files changed, 15 insertions, 9 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 5632d3aad..50d207001 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -546,7 +546,11 @@ li {
line-height: 20px;
}
-.list-unstyled,
+.list-unstyled {
+ margin-left: 0;
+ list-style: none;
+}
+
.list-inline {
margin-left: 0;
list-style: none;
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