fix refresh-button staying yellow on mobile devices

This commit is contained in:
2021-10-24 17:41:23 +02:00
committed by Giovanni Harting
parent 90f402dc87
commit 16a5451838

View File

@@ -434,6 +434,7 @@ export default {
await GetPlayer().then(() => {
setTimeout(() => {
refreshButton.classList.remove('animate')
refreshButton.blur()
}, 2000)
})
}
@@ -553,8 +554,11 @@ export default {
.refresh-btn {
cursor: pointer;
&:hover .fas {
color: var(--bs-warning);
&:hover,
&:focus {
.fas {
color: var(--bs-warning);
}
}
.fas {
@@ -564,7 +568,6 @@ export default {
animation: refresh 2s infinite;
}
}
}
@keyframes refresh {