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