mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use css containment when possible
This commit is contained in:
parent
2075acf404
commit
ee96fa577b
9 changed files with 26 additions and 19 deletions
10
dashboard-ui/bower_components/emby-webcomponents/viewmanager/viewcontainer-lite.css
vendored
Normal file
10
dashboard-ui/bower_components/emby-webcomponents/viewmanager/viewcontainer-lite.css
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
.mainAnimatedPage {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
contain: layout style;
|
||||
/* Can't use will-change because it causes the alpha picker to move when the page scrolls*/
|
||||
/*will-change: transform;*/
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
define(['browser'], function (browser) {
|
||||
define(['browser', 'css!./viewcontainer-lite'], function (browser) {
|
||||
|
||||
var mainAnimatedPages = document.querySelector('.mainAnimatedPages');
|
||||
var allPages = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue