From dc6397f8d16721eb79194a3462ae29a5372f6c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Fri, 1 Oct 2021 21:51:08 +0200 Subject: [PATCH] Fix: Horizontal scroll not working on Windows --- dist/plex-meets-homeassistant.js | 2 ++ src/plex-meets-homeassistant.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 7218844..d87a8d6 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -22092,6 +22092,8 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.content.innerHTML = this.loadCustomStyles(); if (this.useHorizontalScroll) { this.content.style.overflowX = 'auto'; + this.content.style.zIndex = '1'; + this.content.style.position = 'relative'; this.content.style.whiteSpace = 'nowrap'; } if (this.error !== '') { diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index bcae08c..76d30a9 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -719,6 +719,8 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.content.innerHTML = this.loadCustomStyles(); if (this.useHorizontalScroll) { this.content.style.overflowX = 'auto'; + this.content.style.zIndex = '1'; + this.content.style.position = 'relative'; this.content.style.whiteSpace = 'nowrap'; }