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

View file

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