Fix #1062: fixed transparent 'later' button in update message
This commit is contained in:
parent
02d35ded25
commit
75de92b30b
|
@ -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"),
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.main.with-background {
|
||||
.main.with-background, .opaque {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue