diff --git a/src/components/emby-scrollbuttons/emby-scrollbuttons.css b/src/components/emby-scrollbuttons/emby-scrollbuttons.css index 168a6b3805..007557be91 100644 --- a/src/components/emby-scrollbuttons/emby-scrollbuttons.css +++ b/src/components/emby-scrollbuttons/emby-scrollbuttons.css @@ -4,8 +4,15 @@ right: 0; align-items: center; justify-content: center; + min-width:104px; + min-height:24px; z-index: 1; color: #ffffff; display: flex; - overflow: hidden; +} + +.emby-scrollbuttons-button > i { + min-width: 24px; + min-height: 24px; + display: block; } \ No newline at end of file diff --git a/src/components/emby-scrollbuttons/emby-scrollbuttons.js b/src/components/emby-scrollbuttons/emby-scrollbuttons.js index 7be865098a..37638a1b89 100644 --- a/src/components/emby-scrollbuttons/emby-scrollbuttons.js +++ b/src/components/emby-scrollbuttons/emby-scrollbuttons.js @@ -133,22 +133,21 @@ define(['layoutManager', 'dom', 'css!./emby-scrollbuttons', 'registerElement', ' EmbyScrollButtonsPrototype.attachedCallback = function () { var scroller = this.nextSibling; - var parent = this.parentNode; this.scroller = scroller; + var parent = this.parentNode; parent.classList.add('emby-scroller-container'); this.innerHTML = getScrollButtonHtml('left') + getScrollButtonHtml('right'); - var scrollHandler = onScroll.bind(this); - this.scrollHandler = scrollHandler; - var buttons = this.querySelectorAll('.emby-scrollbuttons-button'); buttons[0].addEventListener('click', onScrollButtonClick); buttons[1].addEventListener('click', onScrollButtonClick); this.scrollButtonsLeft = buttons[0]; this.scrollButtonsRight = buttons[1]; + var scrollHandler = onScroll.bind(this); + this.scrollHandler = scrollHandler; scroller.addScrollEventListener(scrollHandler, { capture: false, passive: true diff --git a/src/itemdetails.html b/src/itemdetails.html index a4d587feb4..7025a7ff37 100644 --- a/src/itemdetails.html +++ b/src/itemdetails.html @@ -191,7 +191,6 @@
-
@@ -204,16 +203,14 @@

-
+
-
@@ -248,59 +245,47 @@

-
-
+

-
-
+

${HeaderCastCrew}

-
-
+
-

- ${HeaderUpcomingOnTV} -

+

${HeaderUpcomingOnTV}

-
-

- ${HeaderSpecialFeatures} -

+

${HeaderSpecialFeatures}

-

- ${HeaderMusicVideos} -

+

${HeaderMusicVideos}

${HeaderScenes}

-
-
+

${HeaderMoreLikeThis}

-
-
+