mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update now playing tabs
This commit is contained in:
parent
bb00365b5d
commit
0311b2b1a2
3 changed files with 1 additions and 23 deletions
|
@ -757,11 +757,7 @@
|
|||
|
||||
var mdlTabs = context.querySelector('.libraryViewNav');
|
||||
|
||||
if (AppInfo.enableNowPlayingPageBottomTabs) {
|
||||
context.querySelector('.libraryViewNav').classList.add('bottom');
|
||||
} else {
|
||||
context.querySelector('.libraryViewNav').classList.remove('bottom');
|
||||
}
|
||||
context.querySelector('.libraryViewNav').classList.add('bottom');
|
||||
|
||||
libraryBrowser.configurePaperLibraryTabs(ownerView, mdlTabs, ownerView.querySelectorAll('.pageTabContent'));
|
||||
|
||||
|
@ -797,11 +793,6 @@
|
|||
|
||||
dlg = context;
|
||||
|
||||
if (!AppInfo.enableNowPlayingPageBottomTabs) {
|
||||
context.querySelector('.btnExitRemoteControl').style.position = 'relative';
|
||||
context.querySelector('.topRightContainer').style.position = 'relative';
|
||||
}
|
||||
|
||||
init(ownerView, dlg);
|
||||
};
|
||||
|
||||
|
|
|
@ -71,14 +71,6 @@ h1, h1 a {
|
|||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
.nowPlayingPage .libraryViewNav {
|
||||
top: 0 !important;
|
||||
}
|
||||
|
||||
.nowPlayingPage {
|
||||
padding-top: 50px !important;
|
||||
}
|
||||
|
||||
.videoSubtitles {
|
||||
font-size: 200% !important;
|
||||
}
|
||||
|
|
|
@ -883,7 +883,6 @@ var AppInfo = {};
|
|||
var isCordova = Dashboard.isRunningInCordova();
|
||||
|
||||
AppInfo.enableHomeTabs = true;
|
||||
AppInfo.enableNowPlayingPageBottomTabs = true;
|
||||
AppInfo.enableAutoSave = browserInfo.touch;
|
||||
AppInfo.enableHashBang = Dashboard.isRunningInCordova();
|
||||
|
||||
|
@ -895,10 +894,6 @@ var AppInfo = {};
|
|||
if (isIOS) {
|
||||
|
||||
AppInfo.hasLowImageBandwidth = true;
|
||||
|
||||
if (isCordova) {
|
||||
AppInfo.enableNowPlayingPageBottomTabs = false;
|
||||
}
|
||||
}
|
||||
|
||||
AppInfo.supportsExternalPlayers = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue