Skip to content

Commit

Permalink
[#2599] Fix navigation display in IE7
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jun 26, 2012
1 parent b790f27 commit 00e0568
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions ckan/public/base/less/masthead.less
Expand Up @@ -71,22 +71,26 @@
margin: 0;
}

.masthead nav > ul > li {
.masthead nav li {
display: inline-block;
}

.ie7 .masthead nav > ul > li {
.ie7-inline-block();
.ie7 .masthead nav ul {
margin-top: 5px;
}

.ie7 .masthead nav li {
float: left;
}

.masthead nav > ul > li > a {
.masthead nav li a {
display: block;
font-size: 14px;
font-weight: bold;
padding: 4px 10px;
}

.masthead nav > ul > li > a.active {
.masthead nav li a.active {
@insetBoxShadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
.border-radius(3px);
.box-shadow(@insetBoxShadow);
Expand Down

0 comments on commit 00e0568

Please sign in to comment.