From 75de92b30b441b57196aa27f012135012467e6a9 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Mon, 30 Mar 2020 11:49:56 +0200 Subject: [PATCH] Fix #1062: fixed transparent 'later' button in update message --- front/src/App.vue | 8 ++++---- front/src/style/themes/_dark.scss | 2 +- front/src/style/themes/_light.scss | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/front/src/App.vue b/front/src/App.vue index 6252198e2..6e8f34dbb 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -406,16 +406,16 @@ export default { }, 'serviceWorker.updateAvailable': { handler (v) { - if (!v) { - return - } + // if (!v) { + // return + // } let self = this this.$store.commit('ui/addMessage', { content: this.$pgettext("App/Message/Paragraph", "A new version of the app is available."), date: new Date(), key: 'refreshApp', displayTime: 0, - classActions: 'bottom attached', + classActions: 'bottom attached opaque', actions: [ { text: this.$pgettext("App/Message/Paragraph", "Update"), diff --git a/front/src/style/themes/_dark.scss b/front/src/style/themes/_dark.scss index 930803259..e72ae6e85 100644 --- a/front/src/style/themes/_dark.scss +++ b/front/src/style/themes/_dark.scss @@ -31,7 +31,7 @@ $link-color: rgb(255, 144, 0); color: $text-color; } } - .main.with-background { + .main.with-background, .opaque { background-color: $background-color; } .ui.link.list.list .active.item, diff --git a/front/src/style/themes/_light.scss b/front/src/style/themes/_light.scss index b609075dc..2ab581eb8 100644 --- a/front/src/style/themes/_light.scss +++ b/front/src/style/themes/_light.scss @@ -11,7 +11,7 @@ } } } - .main.with-background { + .main.with-background, .opaque { background-color: white; }