forked from AkkomaGang/akkoma-fe
Add some cheap transition anymation.
This commit is contained in:
parent
c9604eec9d
commit
6fad01339c
2 changed files with 10 additions and 1 deletions
|
@ -263,3 +263,10 @@ attention {
|
|||
nav {
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.fade-enter-active, .fade-leave-active {
|
||||
transition: opacity .2s
|
||||
}
|
||||
.fade-enter, .fade-leave-active {
|
||||
opacity: 0
|
||||
}
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
<nav-panel></nav-panel>
|
||||
<notifications v-if="currentUser"></notifications>
|
||||
</sidebar>
|
||||
<router-view></router-view>
|
||||
<transition name="fade">
|
||||
<router-view></router-view>
|
||||
</transition>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue