Fix
This commit is contained in:
parent
4daf92ea49
commit
310171243c
|
@ -46,10 +46,10 @@ window.addEventListener('scroll', () => {
|
|||
|
||||
// Hantera klickbarhet så man inte klickar på osynlig meny
|
||||
if (opacity < 0.05) {
|
||||
// header.style.pointerEvents = "none";
|
||||
header.style.pointerEvents = "none";
|
||||
sidebar.style.pointerEvents = "none";
|
||||
} else {
|
||||
// header.style.pointerEvents = "auto";
|
||||
header.style.pointerEvents = "auto";
|
||||
sidebar.style.pointerEvents = "auto";
|
||||
}
|
||||
});
|
||||
|
@ -61,7 +61,7 @@ window.addEventListener('scroll', () => {
|
|||
</script>
|
||||
|
||||
<video autoplay loop muted playsinline
|
||||
style="position: absolute; left: 0;
|
||||
style="position: absolute; top: 0; left: 0;
|
||||
height: 82vh; width: 100%;
|
||||
object-fit: cover;
|
||||
filter: blur(10px) brightness(0.7);
|
||||
|
@ -72,7 +72,7 @@ window.addEventListener('scroll', () => {
|
|||
|
||||
|
||||
<video autoplay loop muted playsinline
|
||||
style="position: absolute; left: 50%;
|
||||
style="position: absolute; top: 0; left: 50%;
|
||||
transform: translate(-50%, -50px);
|
||||
height: 95vh;
|
||||
object-fit: cover; z-index: -1;">
|
||||
|
|
Loading…
Reference in New Issue