Skip to content

Commit

Permalink
fixed compare tool layer order in demo testbed
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Feb 11, 2024
1 parent b3e28de commit 0cc4d96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
.matter-js-compare-build.matter-demo canvas {
opacity: 0.5;
background: transparent !important;
z-index: 25 !important;
}
</style>
</head>
Expand Down
12 changes: 11 additions & 1 deletion demo/src/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,22 @@
width: 100%;
height: 100%;
border: 0;
z-index: 1;
pointer-events: none;
}
.matter-js-compare-build.matter-demo .matter-header-outer {
display: none;
}
.matter-js.dev.matter-demo canvas {
background: transparent !important;
z-index: 20;
}
.matter-js-compare-build.matter-demo canvas {
opacity: 0.5;
background: transparent !important;
z-index: 15 !important;
}
@media only screen and (min-width: 1300px) {
Expand All @@ -54,6 +59,11 @@
position: relative;
z-index: 20;
}
.matter-js-compare-build.matter-demo canvas {
position: relative;
z-index: 15;
}
}
</style>
</head>
Expand Down

0 comments on commit 0cc4d96

Please sign in to comment.