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:
parent
00469f9577
commit
927fd4d7e6
2 changed files with 13 additions and 8 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
if (layoutManager.mobile) {
|
||||||
libraryMenu.setTransparentMenu(true);
|
libraryMenu.setTransparentMenu(true);
|
||||||
|
}
|
||||||
|
|
||||||
if (e.detail.isRestored) {
|
if (e.detail.isRestored) {
|
||||||
if (currentItem) {
|
if (currentItem) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue