From 02e8aebb5d1c36f597882f7cea6b87975d326e41 Mon Sep 17 00:00:00 2001 From: Damian Stasik <920747+damianstasik@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:16:01 +0200 Subject: [PATCH] Improve view transition detection --- app/globals.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index 292eada..27b11e2 100644 --- a/app/globals.css +++ b/app/globals.css @@ -75,7 +75,7 @@ } -@supports (view-transition-name: test) { +@supports selector(:active-view-transition-type(test)) { [data-support] [data-support-yes] { display: flex; } @@ -84,7 +84,7 @@ } } -@supports not (view-transition-name: test) { +@supports not selector(:active-view-transition-type(test)) { [data-support] [data-support-yes] { display: none; }