From 196fb1d86a80ae3dad45eee2d34b738b80171132 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 30 Jul 2012 22:26:54 -0700 Subject: [PATCH] fixes #3615: remove last-child hack for IE7 since IE7 doesn't support :last-child --- docs/assets/css/bootstrap.css | 5 ----- less/mixins.less | 4 ---- 2 files changed, 9 deletions(-) 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