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

CSS fixes when resizing the window

This commit is contained in:
ferferga 2020-06-18 18:31:46 +02:00
parent 3b938e9b00
commit a62d69f813
3 changed files with 86 additions and 259 deletions

View file

@ -852,6 +852,10 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
context.querySelector('.btnTogglePlaylist').classList.remove('hide');
context.querySelector('.nowPlayingInfoButtons').insertAdjacentHTML('afterbegin', repeatButtonHtml);
context.querySelector('.nowPlayingInfoButtons').insertAdjacentHTML('beforeend', shuffleButtonHtml);
let childs = context.querySelectorAll('*');
for (let child of childs) {
child.classList.add('mobilePlayer');
}
}
bindEvents(context);