From 3ecc1de62019caffb9a89aeb5d8567a874fc6b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Wed, 5 May 2021 19:19:52 +0200 Subject: [PATCH] Fix: Main item now returns to correct position on season close --- dist/plex-meets-homeassistant.js | 2 +- src/plex-meets-homeassistant.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 1e59203..2f353e5 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19561,7 +19561,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { } else { this.minimizeSeasons(); - this.activeMovieElem.style.top = `0px`; + this.activeMovieElem.style.top = `16px`; } } }); diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 264ef1e..c466b7c 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -398,7 +398,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { seasonEpisodesCount.style.color = 'rgba(255,255,255,0)'; } else { this.minimizeSeasons(); - this.activeMovieElem.style.top = `0px`; + this.activeMovieElem.style.top = `16px`; } } });