File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22429,7 +22429,7 @@ class PlexMeetsHomeAssistant extends HTMLElement {
2242922429 movieElem.style.clear = 'both';
2243022430 }
2243122431 const marginRight = 10;
22432- if (this.renderedRows < 2 || !this.maxRows || this.maxRows < 2) {
22432+ if (this.renderedRows === 1 || !this.maxRows || this.maxRows < 2) {
2243322433 containerWidth += parseFloat(movieElem.style.width) + marginRight;
2243422434 }
2243522435 }
Original file line number Diff line number Diff line change @@ -667,7 +667,7 @@ class PlexMeetsHomeAssistant extends HTMLElement {
667667 movieElem . style . clear = 'both' ;
668668 }
669669 const marginRight = 10 ;
670- if ( this . renderedRows < 2 || ! this . maxRows || this . maxRows < 2 ) {
670+ if ( this . renderedRows === 1 || ! this . maxRows || this . maxRows < 2 ) {
671671 containerWidth += parseFloat ( movieElem . style . width ) + marginRight ;
672672 }
673673 }
You can’t perform that action at this time.
0 commit comments