Fix: Design in sidebar view

2.1.1
Juraj Nyíri 3 years ago
parent 1581cee47e
commit bb3dde9084

@ -20701,6 +20701,7 @@ style.textContent = css `
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
min-width: 100% !important;
} }
.seasonContainer { .seasonContainer {
position: relative; position: relative;
@ -20749,7 +20750,7 @@ style.textContent = css `
position: absolute; position: absolute;
z-index: 1; z-index: 1;
} }
.container { .plexMeetsContainer {
z-index: 1; z-index: 1;
float: left; float: left;
margin-bottom: 20px; margin-bottom: 20px;
@ -22149,7 +22150,7 @@ class PlexMeetsHomeAssistant extends HTMLElement {
} }
} }
const container = document.createElement('div'); const container = document.createElement('div');
container.className = 'container'; container.className = 'plexMeetsContainer';
container.style.width = `${CSS_STYLE.width}px`; container.style.width = `${CSS_STYLE.width}px`;
if (hasAdditionalData) { if (hasAdditionalData) {
container.style.height = `${CSS_STYLE.height + 50}px`; container.style.height = `${CSS_STYLE.height + 50}px`;

@ -321,6 +321,7 @@ style.textContent = css`
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
min-width: 100% !important;
} }
.seasonContainer { .seasonContainer {
position: relative; position: relative;
@ -369,7 +370,7 @@ style.textContent = css`
position: absolute; position: absolute;
z-index: 1; z-index: 1;
} }
.container { .plexMeetsContainer {
z-index: 1; z-index: 1;
float: left; float: left;
margin-bottom: 20px; margin-bottom: 20px;

@ -1506,7 +1506,7 @@ class PlexMeetsHomeAssistant extends HTMLElement {
} }
const container = document.createElement('div'); const container = document.createElement('div');
container.className = 'container'; container.className = 'plexMeetsContainer';
container.style.width = `${CSS_STYLE.width}px`; container.style.width = `${CSS_STYLE.width}px`;
if (hasAdditionalData) { if (hasAdditionalData) {
container.style.height = `${CSS_STYLE.height + 50}px`; container.style.height = `${CSS_STYLE.height + 50}px`;

Loading…
Cancel
Save