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

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

Closes #1062

See merge request funkwhale/funkwhale!1071
This commit is contained in:
Eliot Berriot 2020-03-30 11:55:02 +02:00
commit ae52969efe
3 changed files with 6 additions and 6 deletions

View File

@ -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"),

View File

@ -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,

View File

@ -11,7 +11,7 @@
} }
} }
} }
.main.with-background { .main.with-background, .opaque {
background-color: white; background-color: white;
} }