optimize observers with css containment

This commit is contained in:
Rene
2021-04-21 00:36:21 +02:00
parent f1e297c971
commit 2f51abe081
2 changed files with 2 additions and 0 deletions
@@ -26,6 +26,7 @@ $scrollbar-cushion: 100px;
height: 100%;
width: 100%;
z-index: -1;
contain: strict;
}
.os-size-observer-appear {
@@ -11,6 +11,7 @@
z-index: -1;
height: 0;
top: calc(-100% + 1px);
contain: strict;
&:not(:empty) {
height: calc(100% + 1px);