1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

only show hover style when there's a link

This commit is contained in:
Luke Pulverenti 2013-06-04 21:35:20 -04:00
parent bfdf11d2e8
commit 015150be5a
2 changed files with 2 additions and 2 deletions

View file

@ -347,7 +347,7 @@ a.itemTag:hover {
margin-top: -30px; margin-top: -30px;
} }
.itemDetailImage:hover { .itemDetailGalleryLink img:hover {
-moz-box-shadow: 0 0 20px 3px #2572EB; -moz-box-shadow: 0 0 20px 3px #2572EB;
-webkit-box-shadow: 0 0 20px 3px #2572EB; -webkit-box-shadow: 0 0 20px 3px #2572EB;
box-shadow: 0 0 20px 3px #2572EB; box-shadow: 0 0 20px 3px #2572EB;

View file

@ -1292,7 +1292,7 @@
var linkToGallery = LibraryBrowser.shouldDisplayGallery(item); var linkToGallery = LibraryBrowser.shouldDisplayGallery(item);
if (linkToGallery) { if (linkToGallery) {
html += "<a href='" + href + "'>"; html += "<a class='itemDetailGalleryLink' href='" + href + "'>";
} }
html += "<img class='itemDetailImage' src='" + url + "' />"; html += "<img class='itemDetailImage' src='" + url + "' />";