fix-attempt 4 on issue 59
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2022-02-03 13:10:36 +01:00
parent 92fbe53008
commit 9c2331846b
2 changed files with 10 additions and 9 deletions

View File

@@ -36,6 +36,8 @@ export default {
onMounted(() => { onMounted(() => {
offset.value = setOffset() offset.value = setOffset()
document.querySelector('.bg-img').style.height = document.documentElement.clientHeight + 'px'
}) })
return {offset} return {offset}
@@ -49,6 +51,14 @@ export default {
src: local("Obitron"), url("../public/fonts/Orbitron-VariableFont_wght.ttf") format("truetype"); src: local("Obitron"), url("../public/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
} }
.bg-img {
z-index: -1;
position: fixed;
width: 100%;
object-fit: cover;
overflow: hidden;
}
#cookie-btn { #cookie-btn {
position: fixed; position: fixed;
bottom: 30px; bottom: 30px;

View File

@@ -24,15 +24,6 @@
animation: placeholder-wave-alt 2.5s linear infinite; animation: placeholder-wave-alt 2.5s linear infinite;
} }
.bg-img {
z-index: -1;
position: fixed;
width: 100%;
height: 100%;
object-fit: cover;
overflow: hidden;
}
@keyframes placeholder-wave-alt { @keyframes placeholder-wave-alt {
100% { 100% {
mask-position: -200% 0%; mask-position: -200% 0%;