From 09c7e489a0f4d8c334222385728cc2401da94a13 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Jun 2013 13:49:22 -0700 Subject: [PATCH] (less) Properly unstyle the `.list-unstyled` class by switching from `margin` to `padding` Also add better comments --- type.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/type.less b/type.less index c18bfe86ec3f..a74bdaeffeb4 100644 --- a/type.less +++ b/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