1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Adjust active devices in dashboard

Added more white space inside the card to make it breathe more. Slightly reduced the playing media name size.
This commit is contained in:
Daan Vankerkom 2022-11-09 01:10:17 +01:00
parent 638d005ccf
commit 75ee6f2457
3 changed files with 10 additions and 5 deletions

View file

@ -56,6 +56,7 @@
- [is343](https://github.com/is343) - [is343](https://github.com/is343)
- [Meet Pandya](https://github.com/meet-k-pandya) - [Meet Pandya](https://github.com/meet-k-pandya)
- [Peter Spenler](https://github.com/peterspenler) - [Peter Spenler](https://github.com/peterspenler)
- [Vankerkom](https://github.com/vankerkom)
# Emby Contributors # Emby Contributors

View file

@ -334,7 +334,7 @@ div[data-role=controlgroup] a.ui-btn-active {
.sessionAppInfo { .sessionAppInfo {
flex-grow: 1; flex-grow: 1;
padding: 0.5em; padding: 1em;
overflow: hidden; overflow: hidden;
} }
@ -374,14 +374,18 @@ div[data-role=controlgroup] a.ui-btn-active {
.sessionNowPlayingInfo { .sessionNowPlayingInfo {
flex-grow: 1; flex-grow: 1;
text-overflow: ellipsis; text-overflow: ellipsis;
padding: 0.8em 0.5em; padding: 1em;
}
.sessionNowPlayingName {
font-size: 0.8em;
} }
.sessionNowPlayingTime { .sessionNowPlayingTime {
flex-shrink: 0; flex-shrink: 0;
align-self: flex-end; align-self: flex-end;
text-overflow: ellipsis; text-overflow: ellipsis;
padding: 0.8em 0.5em; padding: 1em;
} }
.playbackProgress, .playbackProgress,

View file

@ -289,7 +289,7 @@ import confirm from '../../components/confirm/confirm';
html += '<div class="sessionNowPlayingDetails">'; html += '<div class="sessionNowPlayingDetails">';
const nowPlayingName = DashboardPage.getNowPlayingName(session); const nowPlayingName = DashboardPage.getNowPlayingName(session);
html += '<div class="sessionNowPlayingInfo" data-imgsrc="' + nowPlayingName.image + '">'; html += '<div class="sessionNowPlayingInfo" data-imgsrc="' + nowPlayingName.image + '">';
html += nowPlayingName.html; html += '<span class="sessionNowPlayingName">' + nowPlayingName.html + '</span>';
html += '</div>'; html += '</div>';
html += '<div class="sessionNowPlayingTime">' + escapeHtml(DashboardPage.getSessionNowPlayingTime(session)) + '</div>'; html += '<div class="sessionNowPlayingTime">' + escapeHtml(DashboardPage.getSessionNowPlayingTime(session)) + '</div>';
html += '</div>'; html += '</div>';