chore: update prompt visibility

This commit is contained in:
2025-09-30 16:18:43 +02:00
parent 6af0e9b822
commit eac9b47e10
2 changed files with 21 additions and 17 deletions
-16
View File
@@ -107,22 +107,6 @@ function loadLang() {
min-height: 100vh;
}
.update-prompt {
position: fixed;
bottom: 0;
left: 0;
padding: 0.5em;
font-weight: bold;
text-align: center;
width: 100%;
background-color: colors.$accentCol;
cursor: pointer;
}
footer {
text-align: center;
padding: 0.5em 0;
+21 -1
View File
@@ -11,4 +11,24 @@ import { useRegisterSW } from 'virtual:pwa-register/vue';
const { offlineReady, needRefresh, updateServiceWorker } = useRegisterSW({ immediate: true });
</script>
<style scoped></style>
<style lang="scss" scoped>
@use '../../styles/colors';
.update-prompt {
position: fixed;
bottom: 0;
left: 0;
padding: 0.5em;
z-index: 200;
font-weight: bold;
text-align: center;
width: 100%;
background-color: colors.$accentCol;
cursor: pointer;
}
</style>