Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9726821

Browse files
author
Dariusz Niemczyk
committed
Force a new layer for backdrop panel
1 parent 798da0f commit 9726821

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

res/css/structures/_BackdropPanel.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ limitations under the License.
2222
width: 100%;
2323
overflow: hidden;
2424
filter: blur(var(--lp-background-blur));
25+
// Force a new layer for the backdropPanel so it's better hardware supported
26+
transform: translateZ(0);
2527
}
2628

2729
.mx_BackdropPanel--image {

res/css/structures/_LeftPanel.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ $roomListCollapsedWidth: 68px;
2626
.mx_LeftPanel_wrapper {
2727
display: flex;
2828
max-width: 50%;
29+
position: relative;
30+
2931
// Contain the amount of layers rendered by constraining what actually needs re-layering via css
3032
contain: layout paint;
3133

0 commit comments

Comments
 (0)