Skip to content

Commit

Permalink
Fix projects dropdown styling in chrome
Browse files Browse the repository at this point in the history
Fixes #5731
  • Loading branch information
syncguru authored and vboctor committed Jan 26, 2017
1 parent 2a70b09 commit 8c77d68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions css/ace-mantis.css
Expand Up @@ -298,17 +298,26 @@ i.datetimepicker {
margin: 2px 0;
}

.list > li {
height: 30px;
line-height: 22px;
}
.list > li > a {
display: block;
line-height: 1.4;
padding: 3px 11px;
padding: 3px 12px;
white-space: nowrap;
margin: 1px 0;
color: #333;
font-weight: 400;
text-decoration: none;
}

.list > li > a:focus, list > li > a:hover {
color: #262626;
text-decoration: none;
background-color: #f5f5f5;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
.page-content {
Expand Down
2 changes: 1 addition & 1 deletion js/common.js
Expand Up @@ -52,7 +52,7 @@ $(document).ready( function() {
valueNames: [ 'project-link' ]
};
var list = new List('projects-list', options);
if(list.items.length <= 10 ) {
if(list.items.length <= 10) {
$('#projects-list .searchbox').hide();
}

Expand Down

0 comments on commit 8c77d68

Please sign in to comment.