diff --git a/src/App.vue b/src/App.vue index f8df062..dbd9114 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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; diff --git a/src/components/Global/UpdatePrompt.vue b/src/components/Global/UpdatePrompt.vue index 518caad..1f8bbfc 100644 --- a/src/components/Global/UpdatePrompt.vue +++ b/src/components/Global/UpdatePrompt.vue @@ -11,4 +11,24 @@ import { useRegisterSW } from 'virtual:pwa-register/vue'; const { offlineReady, needRefresh, updateServiceWorker } = useRegisterSW({ immediate: true }); - +