Skip to content

Commit

Permalink
fix: toc visibility toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Aug 12, 2024
1 parent 3c547e8 commit bf6975e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/components/toc.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
@tailwind components;

.slide-fade-enter-active {
transition: all 0.3s ease;
}

.slide-fade-exit-active {
transition: all 0.3s ease;
}

.slide-fade-enter,
.slide-fade-exit-to {
transform: translateY(-10px);
opacity: 0;
}


@layer components {
.contents-btn {
Expand All @@ -15,20 +29,6 @@
padding-left: 1.5rem;
}

.slide-fade-enter-active {
transition: all 0.3s ease;
}

.slide-fade-exit-active {
transition: all 0.3s ease;
}

.slide-fade-enter,
.slide-fade-exit-to {
transform: translateY(10px);
opacity: 0;
}

svg.toc-active {
transform: rotate(180deg);
}
Expand Down

0 comments on commit bf6975e

Please sign in to comment.