Skip to content

Open source alternative to Semrush and Ahrefs

fix: remove unused view transitions CSS causing navigation errors (#107)

Ben Senescu937665ef9558
diff --git a/src/client/styles/app.css b/src/client/styles/app.css
index afce82d6..5e6cfdf5 100644
--- a/src/client/styles/app.css
+++ b/src/client/styles/app.css
@@ -1,5 +1,4 @@
@import "tailwindcss";
-@import "./view-transitions.css";
@theme {
--container-8xl: 88rem;
diff --git a/src/client/styles/view-transitions.css b/src/client/styles/view-transitions.css
deleted file mode 100644
index be08673b..00000000
--- a/src/client/styles/view-transitions.css
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ============================================
- View Transitions API - Route Animations
- ============================================ */
-
-/* Opt-in to view transitions */
-@view-transition {
- navigation: auto;
-}
-
-/* Named view transitions - only animate main content */
-.main-content {
- view-transition-name: main-content;
-}
-
-/* Exclude sidebar and tab bar from view transitions entirely */
-.sidebar,
-.tab-bar {
- view-transition-name: none;
-}
-
-/* Fade transition for all navigation */
-::view-transition-old(main-content) {
- animation: vt-fade-out 150ms ease-out forwards;
-}
-
-::view-transition-new(main-content) {
- animation: vt-fade-in 150ms ease-out forwards;
-}
-
-/* Keyframes */
-@keyframes vt-fade-in {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-@keyframes vt-fade-out {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-
-/* Reduce motion for users who prefer it */
-@media (prefers-reduced-motion: reduce) {
- ::view-transition-old(main-content),
- ::view-transition-new(main-content) {
- animation: none;
- }
-}