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:
parent
bfdf11d2e8
commit
015150be5a
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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 + "' />";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue