From 835326a2dbca14d981ca2aaa8abbc9da167fcf7a Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Thu, 19 Dec 2024 19:13:08 -0500 Subject: [PATCH] fix delayed button loading (#369) * fix delayed button loading * fix delayed button loading --- src/styles/applied.css | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/styles/applied.css b/src/styles/applied.css index 1049f4e63..4a7485c88 100644 --- a/src/styles/applied.css +++ b/src/styles/applied.css @@ -62,15 +62,12 @@ body { /* Show custom elements only after they're registered */ :where(:not(:defined, [did-ssr])) { - &, - & * { - /* - * if an element gets defined earlier than 800ms, the animation stops applying so it just appears (no fade) - * If it takes somewhere between 800 and 1000 ms, then you may get an interrupted fade - * If an element takes longer than 1000ms to get defined, it fades in over 200ms - */ - animation: 200ms 800ms wa-fade-in both; - } + /* + * if an element gets defined earlier than 800ms, the animation stops applying so it just appears (no fade) + * If it takes somewhere between 800 and 1000 ms, then you may get an interrupted fade + * If an element takes longer than 1000ms to get defined, it fades in over 200ms + */ + animation: 200ms 800ms wa-fade-in both; } /* Content flow */