aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <[email protected]>2012-11-02 15:04:34 +0100
committerDavid <[email protected]>2012-11-02 15:04:34 +0100
commit46d38b10b8823d2a13329edb939e4811636c9aba (patch)
tree43ef659b5f08bc53dc55d989cb3720855ef0c193
parent3b3dd3ac3c7b69d02406ede69bffcc4ee8a1ed6b (diff)
downloadbootstrap-46d38b10b8823d2a13329edb939e4811636c9aba.tar.xz
bootstrap-46d38b10b8823d2a13329edb939e4811636c9aba.zip
Prevent IE8 from misplacing imgs
Fixed imgs in a nav that were misplaced on IE8.
-rw-r--r--less/navs.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/less/navs.less b/less/navs.less
index 1944f8441..4cffa8a68 100644
--- a/less/navs.less
+++ b/less/navs.less
@@ -21,6 +21,11 @@
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;