fix animations

This commit is contained in:
Henry Jameson 2022-03-23 15:53:36 +02:00
parent 322ec8681a
commit d690b88c1c
2 changed files with 16 additions and 18 deletions

View File

@ -572,7 +572,7 @@ nav {
.fade-enter-active, .fade-leave-active {
transition: opacity .2s
}
.fade-enter, .fade-leave-active {
.fade-enter-from, .fade-leave-active {
opacity: 0
}

View File

@ -11,8 +11,7 @@
{{ $t('settings.settings') }}
</span>
<transition name="fade">
<div>
<template v-if="currentSaveStateNotice">
<div v-if="currentSaveStateNotice">
<div
v-if="currentSaveStateNotice.error"
class="alert error"
@ -28,7 +27,6 @@
>
{{ $t('settings.saving_ok') }}
</div>
</template>
</div>
</transition>
<button