]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Prevent IE8 from misplacing imgs 5760/head
authorDavid <idavemm@gmail.com>
Fri, 2 Nov 2012 14:04:34 +0000 (15:04 +0100)
committerDavid <idavemm@gmail.com>
Fri, 2 Nov 2012 14:04:34 +0000 (15:04 +0100)
Fixed imgs in a nav that were misplaced on IE8.

less/navs.less

index 1944f8441549a9220321f96cbd9181fd2429cf89..4cffa8a68dd55fa7c500c4df28e7ac86f2216292 100644 (file)
   background-color: @grayLighter;
 }
 
+// Prevent IE8 from misplacing imgs
+.nav > li > a > img {
+  max-width: none;
+}
+
 // Redeclare pull classes because of specifity
 .nav > .pull-right {
   float: right;