Commit 4436e727 authored by Mark Otto's avatar Mark Otto

Properly unstyle the `.list-unstyled` class by switching from `margin` to `padding`

Also add better comments
parent 84c0dc13
...@@ -516,12 +516,12 @@ ol ul { ...@@ -516,12 +516,12 @@ ol ul {
} }
.list-unstyled { .list-unstyled {
margin-left: 0; padding-left: 0;
list-style: none; list-style: none;
} }
.list-inline { .list-inline {
margin-left: 0; padding-left: 0;
list-style: none; list-style: none;
} }
......
...@@ -118,9 +118,9 @@ ol ul { ...@@ -118,9 +118,9 @@ ol ul {
// List options // List options
// Unstyled keeps list items block level, just removes list-style // Unstyled keeps list items block level, just removes default browser padding and list-style
.list-unstyled { .list-unstyled {
margin-left: 0; padding-left: 0;
list-style: none; list-style: none;
} }
// Inline turns list items into inline-block // Inline turns list items into inline-block
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment