diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 67db9c1123..04d5bc1fd9 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -516,12 +516,12 @@ ol ul { } .list-unstyled { - margin-left: 0; + padding-left: 0; list-style: none; } .list-inline { - margin-left: 0; + padding-left: 0; list-style: none; } diff --git a/less/type.less b/less/type.less index c18bfe86ec..a74bdaeffe 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