From 90fe42a81a437daeaded0e5b13f1a9a7dfca241d Mon Sep 17 00:00:00 2001 From: Stardream Date: Sat, 23 May 2026 00:02:37 +1000 Subject: [PATCH] fix: load-more button animates with card list on tab switch Replace display:none toggle with opacity/transform transition so the button fades and slides in sync with #stream-list.is-switching (0.18s ease). Tab switch now hides the button at the same time as the list. --- public/index.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index c3573ea..72e6ba8 100644 --- a/public/index.html +++ b/public/index.html @@ -677,6 +677,12 @@ #sh-load-more-wrap { text-align: center; padding: 16px 0 24px; + transition: opacity 0.18s ease, transform 0.18s ease; + } + #sh-load-more-wrap.lm-hidden { + opacity: 0; + transform: translateY(6px); + pointer-events: none; } #sh-load-more-btn { border: 1px solid var(--line); @@ -737,7 +743,7 @@
-