aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-17 13:49:22 -0700
committerMark Otto <[email protected]>2013-06-17 14:21:16 -0700
commit4436e727ed52e45db2f5db9bf4efcea4ba8c64c3 (patch)
tree2fc69c30619e7525e940ee77f20695036595cd5c /less
parent84c0dc13babffe781fff96611b526f5fb58ff9dd (diff)
downloadbootstrap-4436e727ed52e45db2f5db9bf4efcea4ba8c64c3.tar.xz
bootstrap-4436e727ed52e45db2f5db9bf4efcea4ba8c64c3.zip
Properly unstyle the `.list-unstyled` class by switching from `margin` to `padding`
Also add better comments
Diffstat (limited to 'less')
-rw-r--r--less/type.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/type.less b/less/type.less
index c18bfe86e..a74bdaeff 100644
--- a/less/type.less
+++ b/less/type.less
@@ -118,9 +118,9 @@ ol ul {
// 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 {
- margin-left: 0;
+ padding-left: 0;
list-style: none;
}
// Inline turns list items into inline-block