diff --git a/src/components/layout.lisp b/src/components/layout.lisp index 9641fb4..dcbf668 100644 --- a/src/components/layout.lisp +++ b/src/components/layout.lisp @@ -8,7 +8,7 @@ (defcomp ~layout (&key children) (hsx - (div :class "fade flex flex-col h-[100svh] w-full max-w-[700px] px-2 mx-auto" + (div :class "flex flex-col h-[100svh] w-full max-w-[700px] px-2 mx-auto" (~header) (div :class "flex flex-col flex-1 overflow-y-scroll" (main :class "flex-1 px-2 py-6 md:px-4 md:py-8" diff --git a/static/style/global.css b/static/style/global.css index be3e286..b2b52c5 100644 --- a/static/style/global.css +++ b/static/style/global.css @@ -23,23 +23,3 @@ font-family: "Zen Maru Gothic", sans-serif; } } - -@keyframes fade-in { - from { opacity: 0; } -} - -@keyframes fade-out { - to { opacity: 0; } -} - -::view-transition-old(fade) { - animation: 300ms ease both fade-out, -} - -::view-transition-new(fade) { - animation: 300ms ease both fade-in, -} - -.fade { - view-transition-name: fade; -}