only show hover style when there's a link
This commit is contained in:
@@ -347,7 +347,7 @@ a.itemTag:hover {
|
||||
margin-top: -30px;
|
||||
}
|
||||
|
||||
.itemDetailImage:hover {
|
||||
.itemDetailGalleryLink img:hover {
|
||||
-moz-box-shadow: 0 0 20px 3px #2572EB;
|
||||
-webkit-box-shadow: 0 0 20px 3px #2572EB;
|
||||
box-shadow: 0 0 20px 3px #2572EB;
|
||||
|
||||
@@ -1292,7 +1292,7 @@
|
||||
var linkToGallery = LibraryBrowser.shouldDisplayGallery(item);
|
||||
|
||||
if (linkToGallery) {
|
||||
html += "<a href='" + href + "'>";
|
||||
html += "<a class='itemDetailGalleryLink' href='" + href + "'>";
|
||||
}
|
||||
|
||||
html += "<img class='itemDetailImage' src='" + url + "' />";
|
||||
|
||||
Reference in New Issue
Block a user