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

Add missing CSS selector for TV Layout + fix code smell

This commit is contained in:
ferferga 2020-06-24 19:52:47 +02:00
parent ab12e6e4ad
commit fd6b20d88c
2 changed files with 3 additions and 2 deletions

View file

@ -154,7 +154,8 @@
display: none; display: none;
} }
.layout-desktop .nowPlayingBarRight .playPauseButton { .layout-desktop .nowPlayingBarRight .playPauseButton,
.layout-tv .nowPlayingBarRight .playPauseButton {
display: none; display: none;
} }

View file

@ -518,8 +518,8 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
case 'Shuffle': case 'Shuffle':
shuffleButton.classList.toggle(cssClass, true); shuffleButton.classList.toggle(cssClass, true);
break; break;
default:
case 'Sorted': case 'Sorted':
default:
shuffleButton.classList.toggle(cssClass, false); shuffleButton.classList.toggle(cssClass, false);
break; break;
} }