fix: show episode overlay when in focus
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -1052,7 +1052,8 @@ const SeriesTitlePage = () => {
|
||||
<span className="material-symbols-rounded item-detail-episode-image-icon">tv_gen</span>
|
||||
</div>
|
||||
<img alt={episode.Name} src={api.getItemImageUrl(episode.Id, "Primary", {
|
||||
tag: episode.ImageTags.Primary
|
||||
tag: episode.ImageTags.Primary,
|
||||
fillHeight: 300,
|
||||
})} className="item-detail-episode-image" onLoad={(e) => {
|
||||
e.target.style.opacity = 1;
|
||||
}} />
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
&:hover .item-detail-episode-image-overlay{
|
||||
&:hover .item-detail-episode-image-overlay, &:focus-within .item-detail-episode-image-overlay{
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user