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

Fix additional issues on dashboard page

This commit is contained in:
Bill Thornton 2020-12-14 10:11:54 -05:00
parent d346f185e4
commit 1738010ae4
2 changed files with 15 additions and 13 deletions

View file

@ -127,8 +127,8 @@ div[data-role=controlgroup] a.ui-btn-active {
}
.sessionAppInfo img {
max-width: 2.25rem;
max-height: 2.25rem;
max-width: 40px;
max-height: 40px;
margin-right: 8px;
}
@ -204,6 +204,10 @@ div[data-role=controlgroup] a.ui-btn-active {
flex-grow: 1;
}
.dashboardActionsContainer {
margin: 1em -0.3em 0;
}
.sessionNowPlayingContent {
-webkit-background-size: cover;
background-size: cover;
@ -283,14 +287,10 @@ div[data-role=controlgroup] a.ui-btn-active {
}
.activeSession {
min-width: 10rem;
min-width: 15rem;
width: 100% !important;
}
.activeSession .cardBox {
margin: 0;
}
.activitylogUserPhoto {
height: 1.71em;
width: 1.71em;
@ -303,7 +303,9 @@ div[data-role=controlgroup] a.ui-btn-active {
@media all and (min-width: 50em) {
.activeSession {
flex: 1;
flex-grow: 0;
flex-shrink: 0;
flex-basis: 50%;
}
}
@ -352,7 +354,6 @@ div[data-role=controlgroup] a.ui-btn-active {
.sessionNowPlayingDetails {
display: flex;
white-space: nowrap;
}
.sessionNowPlayingInfo {
@ -379,8 +380,9 @@ div[data-role=controlgroup] a.ui-btn-active {
background: transparent !important;
}
.activeDevices {
gap: 1rem;
.activeDevices.itemsContainer {
/* offset for cardBox margin */
margin: -0.6em;
}
.activeSession .playbackProgress,

View file

@ -15,8 +15,8 @@
<p id="architecture"></p>
</div>
<div style="margin-top:1em;">
<button is="emby-button" type="button" class="raised btnRefresh" style="margin-left: 0;">
<div class="dashboardActionsContainer">
<button is="emby-button" type="button" class="raised btnRefresh">
<span>${ButtonScanAllLibraries}</span>
</button>
<button is="emby-button" type="button" id="btnRestartServer" class="raised hide" onclick="DashboardPage.restart(this);">