diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index b173001397..2368a54314 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -56,6 +56,7 @@ - [is343](https://github.com/is343) - [Meet Pandya](https://github.com/meet-k-pandya) - [Peter Spenler](https://github.com/peterspenler) + - [Vankerkom](https://github.com/vankerkom) # Emby Contributors @@ -121,4 +122,4 @@ - [SvenVandenbrande](https://github.com/SvenVandenbrande) - [jomp16](https://github.com/jomp16) - [Leon de Klerk](https://github.com/leondeklerk) - - [CrispyBaguette](https://github.com/CrispyBaguette) \ No newline at end of file + - [CrispyBaguette](https://github.com/CrispyBaguette) diff --git a/src/assets/css/dashboard.scss b/src/assets/css/dashboard.scss index 0bd22a2954..8997d66410 100644 --- a/src/assets/css/dashboard.scss +++ b/src/assets/css/dashboard.scss @@ -334,7 +334,7 @@ div[data-role=controlgroup] a.ui-btn-active { .sessionAppInfo { flex-grow: 1; - padding: 0.5em; + padding: 1em; overflow: hidden; } @@ -374,14 +374,18 @@ div[data-role=controlgroup] a.ui-btn-active { .sessionNowPlayingInfo { flex-grow: 1; text-overflow: ellipsis; - padding: 0.8em 0.5em; + padding: 1em; +} + +.sessionNowPlayingName { + font-size: 0.8em; } .sessionNowPlayingTime { flex-shrink: 0; align-self: flex-end; text-overflow: ellipsis; - padding: 0.8em 0.5em; + padding: 1em; } .playbackProgress, diff --git a/src/controllers/dashboard/dashboard.js b/src/controllers/dashboard/dashboard.js index b80ff8abc3..a08f460daf 100644 --- a/src/controllers/dashboard/dashboard.js +++ b/src/controllers/dashboard/dashboard.js @@ -289,7 +289,7 @@ import confirm from '../../components/confirm/confirm'; html += '
'; const nowPlayingName = DashboardPage.getNowPlayingName(session); html += '
'; - html += nowPlayingName.html; + html += '' + nowPlayingName.html + ''; html += '
'; html += '
' + escapeHtml(DashboardPage.getSessionNowPlayingTime(session)) + '
'; html += '
';