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
|
@ -15,12 +15,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.3.97",
|
||||
"_release": "1.3.97",
|
||||
"version": "1.3.98",
|
||||
"_release": "1.3.98",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.3.97",
|
||||
"commit": "a16d3b396652af4fe1ae414244ec2df71382b50f"
|
||||
"tag": "1.3.98",
|
||||
"commit": "f4b1f61aa32d6266aa63b151e10d773201870ba4"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
.backdropContainer {
|
||||
contain: layout style;
|
||||
}
|
||||
|
||||
.backdropImage {
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
border: 0;
|
||||
padding: 0;
|
||||
will-change: transform;
|
||||
contain: style;
|
||||
}
|
||||
|
||||
.dialog.fixedSize {
|
||||
|
@ -23,6 +24,7 @@
|
|||
max-height: none !important;
|
||||
max-width: none !important;
|
||||
width: auto;
|
||||
contain: strict;
|
||||
}
|
||||
|
||||
.dialog.centeredDialog {
|
||||
|
|
|
@ -514,6 +514,7 @@
|
|||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 9999999;
|
||||
contain: layout style;
|
||||
}
|
||||
|
||||
.loadingHide {
|
||||
|
|
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