From 2249314fa947b1f7c56ad97e3052e88e59003182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Fri, 1 Oct 2021 18:44:37 +0200 Subject: [PATCH] Fix: Horizontal scroll creating new row on iOS --- dist/plex-meets-homeassistant.js | 1 + src/plex-meets-homeassistant.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 23ee7eb..e61cd97 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -21961,6 +21961,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { } return false; }); + this.contentContainer.style.width = `${parseFloat(this.contentContainer.style.width) + 5}px`; } const contentbg = this.getElementsByClassName('contentbg')[0]; this.contentBGHeight = getHeight(contentbg); diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index deb81f9..513dccc 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -627,6 +627,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { } return false; }); + this.contentContainer.style.width = `${parseFloat(this.contentContainer.style.width) + 5}px`; } const contentbg = this.getElementsByClassName('contentbg')[0] as HTMLElement;