From: Mark Otto Date: Tue, 31 Jul 2012 05:26:54 +0000 (-0700) Subject: fixes #3615: remove last-child hack for IE7 since IE7 doesn't support :last-child X-Git-Tag: v2.1.0~2^2~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=196fb1d86a80ae3dad45eee2d34b738b80171132;p=thirdparty%2Fbootstrap.git fixes #3615: remove last-child hack for IE7 since IE7 doesn't support :last-child --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 5db99719bc..a3451fd933 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2034,11 +2034,6 @@ table .span24 { background-repeat: no-repeat; } -[class^="icon-"]:last-child, -[class*=" icon-"]:last-child { - *margin-left: 0; -} - .icon-white { background-image: url("../img/glyphicons-halflings-white.png"); } diff --git a/less/mixins.less b/less/mixins.less index 54490b73bc..d4dea27be6 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -65,10 +65,6 @@ .ie7-restore-right-whitespace() { *margin-right: .3em; - - &:last-child { - *margin-left: 0; - } } // Sizing shortcuts