Skip to content
Snippets Groups Projects
Commit ae52969e authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '1062-transparent-button' into 'develop'

Fix #1062: fixed transparent 'later' button in update message

Closes #1062

See merge request !1071
parents a774a020 75de92b3
No related branches found
No related tags found
No related merge requests found
...@@ -406,16 +406,16 @@ export default { ...@@ -406,16 +406,16 @@ export default {
}, },
'serviceWorker.updateAvailable': { 'serviceWorker.updateAvailable': {
handler (v) { handler (v) {
if (!v) { // if (!v) {
return // return
} // }
let self = this let self = this
this.$store.commit('ui/addMessage', { this.$store.commit('ui/addMessage', {
content: this.$pgettext("App/Message/Paragraph", "A new version of the app is available."), content: this.$pgettext("App/Message/Paragraph", "A new version of the app is available."),
date: new Date(), date: new Date(),
key: 'refreshApp', key: 'refreshApp',
displayTime: 0, displayTime: 0,
classActions: 'bottom attached', classActions: 'bottom attached opaque',
actions: [ actions: [
{ {
text: this.$pgettext("App/Message/Paragraph", "Update"), text: this.$pgettext("App/Message/Paragraph", "Update"),
......
...@@ -31,7 +31,7 @@ $link-color: rgb(255, 144, 0); ...@@ -31,7 +31,7 @@ $link-color: rgb(255, 144, 0);
color: $text-color; color: $text-color;
} }
} }
.main.with-background { .main.with-background, .opaque {
background-color: $background-color; background-color: $background-color;
} }
.ui.link.list.list .active.item, .ui.link.list.list .active.item,
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
} }
} }
.main.with-background { .main.with-background, .opaque {
background-color: white; background-color: white;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment