Skip to content

Commit

Permalink
Fix: Horizontal scroll not working on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Oct 1, 2021
1 parent 76e1c26 commit dc6397f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/plex-meets-homeassistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 !== '') {
Expand Down
2 changes: 2 additions & 0 deletions src/plex-meets-homeassistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit dc6397f

Please sign in to comment.