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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-09-09 00:49:38 -04:00
parent dd2d0bc99b
commit c2a1e49e38
2 changed files with 11 additions and 1 deletions

View file

@ -29,6 +29,15 @@
max-width: none;
}
.dialog-fullscreen {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: 0;
}
@media screen and (max-width: 1280px), screen and (max-height: 720px) {
.dialog-fixedSize {
position: fixed;

View file

@ -879,12 +879,13 @@ define(['browser', 'layoutManager', 'dom', 'scrollStyles'], function (browser, l
slideeElement.style['will-change'] = 'transform';
}
dragSourceElement.addEventListener('mousedown', dragInitSlidee);
if (transform) {
dom.addEventListener(dragSourceElement, 'touchstart', dragInitSlidee, {
passive: true
});
dragSourceElement.addEventListener('mousedown', dragInitSlidee);
if (!o.scrollWidth) {
dom.addEventListener(window, 'resize', onResize, {