From: Geremia Taglialatela Date: Thu, 30 Jan 2014 13:55:19 +0000 (+0100) Subject: fixed first element padding of list-inline X-Git-Tag: v3.1.1~14^2~18^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0da527f169dbf20a30db2a6ae57b479ac867fa6c;p=thirdparty%2Fbootstrap.git fixed first element padding of list-inline --- diff --git a/less/type.less b/less/type.less index a55730dfef..d7a7d58007 100644 --- a/less/type.less +++ b/less/type.less @@ -165,15 +165,12 @@ ol { // Inline turns list items into inline-block .list-inline { .list-unstyled(); + margin-left: -5px; > li { display: inline-block; padding-left: 5px; padding-right: 5px; - - &:first-child { - padding-left: 0; - } } }