Fix: Horizontal scroll not working on Windows

music 3.0.4
Juraj Nyíri 3 years ago
parent 76e1c26aeb
commit dc6397f8d1

@ -22092,6 +22092,8 @@ class PlexMeetsHomeAssistant extends HTMLElement {
this.content.innerHTML = this.loadCustomStyles(); this.content.innerHTML = this.loadCustomStyles();
if (this.useHorizontalScroll) { if (this.useHorizontalScroll) {
this.content.style.overflowX = 'auto'; this.content.style.overflowX = 'auto';
this.content.style.zIndex = '1';
this.content.style.position = 'relative';
this.content.style.whiteSpace = 'nowrap'; this.content.style.whiteSpace = 'nowrap';
} }
if (this.error !== '') { if (this.error !== '') {

@ -719,6 +719,8 @@ class PlexMeetsHomeAssistant extends HTMLElement {
this.content.innerHTML = this.loadCustomStyles(); this.content.innerHTML = this.loadCustomStyles();
if (this.useHorizontalScroll) { if (this.useHorizontalScroll) {
this.content.style.overflowX = 'auto'; this.content.style.overflowX = 'auto';
this.content.style.zIndex = '1';
this.content.style.position = 'relative';
this.content.style.whiteSpace = 'nowrap'; this.content.style.whiteSpace = 'nowrap';
} }

Loading…
Cancel
Save