You've already forked AstralRinth
forked from didirus/AstralRinth
Add small ease-in-out transition between pages. (#66)
Really makes a big difference than before.
This commit is contained in:
@@ -253,6 +253,16 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.page-enter-active,
|
||||||
|
.page-leave-active {
|
||||||
|
transition: ease-in-out 100ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-enter,
|
||||||
|
.page-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.layout {
|
.layout {
|
||||||
background-color: var(--color-bg);
|
background-color: var(--color-bg);
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
Reference in New Issue
Block a user