Made TheTvDb icon layout cleaner.

pull/3113/head
Mark McDowall 13 years ago
parent 0ba781fd32
commit 3a3ba146d6

@ -65,7 +65,7 @@ function bindSeriesAutoComplete(selector) {
.data("autocomplete")._renderItem = function (ul, item) { .data("autocomplete")._renderItem = function (ul, item) {
return $("<li></li>") return $("<li></li>")
.data("item.autocomplete", item) .data("item.autocomplete", item)
.append("<a>" + item.DisplayedTitle + "<div class='tvDbLink' rel='" + item.Url + "'></div></a>") .append("<a>" + item.DisplayedTitle + "<img src='../../Content/Images/thetvdb.png' class='tvDbLink' title='Click to see series details from TheTVDB' rel='" + item.Url + "' /></a>")
.appendTo(ul); .appendTo(ul);
}; };
}); });

@ -38,12 +38,6 @@
} }
.tvDbLink { .tvDbLink {
color: #065EFE;
background-repeat: no-repeat;
background-position: 5px center;
background-image:url('../../Content/Images/thetvdb.png');
width: 22px;
height: 20px;
float: right; float: right;
} }

Loading…
Cancel
Save