Fix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Joakim Svensson 2025-05-08 21:31:22 +00:00
parent a0720bbc23
commit 1136df09e6
1 changed files with 9 additions and 9 deletions

View File

@ -11,6 +11,15 @@ title: Start
window.scrollTo({ top: y, behavior: 'smooth' });
}
// Göm knappen vid scroll
window.addEventListener('scroll', () => {
const button = document.getElementById('scrollButton');
if (window.scrollY > 10) {
button.style.display = 'none';
}
});
</script>
<script>
window.addEventListener('scroll', () => {
const header = document.querySelector('.md-header');
@ -25,15 +34,6 @@ title: Start
});
</script>
// Göm knappen vid scroll
window.addEventListener('scroll', () => {
const button = document.getElementById('scrollButton');
if (window.scrollY > 10) {
button.style.display = 'none';
}
});
</script>
<video autoplay loop muted playsinline
style="position: absolute; left: 0;
height: 77vh; width: 100%;