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

set header setTransparentMenu for mobile only and fix some style

This commit is contained in:
grafixeyehero 2020-01-13 23:36:23 +03:00
parent 00469f9577
commit 927fd4d7e6
2 changed files with 13 additions and 8 deletions

View file

@ -671,12 +671,20 @@
} }
@media all and (min-width:62.5em) { @media all and (min-width:62.5em) {
.headerTop {
padding: 1.489em 0
}
.itemDetailPage {
padding-top: 5em !important
}
.detailFloatingButton { .detailFloatingButton {
display: none !important display: none !important
} }
.personBackdropimg-hideondesktop { .personBackdropimg-hideondesktop {
display: none !important; display: none !important
} }
.mainDetailButtons { .mainDetailButtons {
@ -722,12 +730,6 @@
border-collapse: collapse; border-collapse: collapse;
} }
@media all and (max-width:62.5em) {
.detailPageWrapperContainer-nodetailimg {
padding-top: 0;
}
}
.mediaInfoStream { .mediaInfoStream {
margin: 0 3em 0 0; margin: 0 3em 0 0;
display: inline-block; display: inline-block;

View file

@ -2098,7 +2098,10 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
}); });
view.addEventListener("viewshow", function (e) { view.addEventListener("viewshow", function (e) {
var page = this; var page = this;
libraryMenu.setTransparentMenu(true);
if (layoutManager.mobile) {
libraryMenu.setTransparentMenu(true);
}
if (e.detail.isRestored) { if (e.detail.isRestored) {
if (currentItem) { if (currentItem) {