Skip to content

Commit

Permalink
Fix transition styling
Browse files Browse the repository at this point in the history
  • Loading branch information
super16 committed Jan 12, 2023
1 parent 9fa7468 commit 07041a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 10 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,13 @@ const { showInfo } = storeToRefs(store);
/>
</Transition>
</template>

<style lang="postcss">
.v-enter-active, .v-leave-active {
@apply transition delay-300;
}
.v-enter-from, .v-leave-to {
@apply opacity-0;
}
</style>
8 changes: 0 additions & 8 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,4 @@
article p span a {
@apply decoration-4 decoration-indigo-400 hover:decoration-8 underline;
}

.v-enter-active, .v-leave-active {
@apply transition delay-150;
}

.v-enter-from, .v-leave-to {
@apply opacity-0;
}
}

0 comments on commit 07041a1

Please sign in to comment.