From cc733631d2cc028c50f47d4ba590b4a247e0d206 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 4 Mar 2026 13:08:22 -0500 Subject: [PATCH] fix: world page 'see more' bugs --- public/src/client/world.js | 1 + src/views/partials/feed/item.tpl | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/src/client/world.js b/public/src/client/world.js index faa9de0310..bdbc1dbb32 100644 --- a/public/src/client/world.js +++ b/public/src/client/world.js @@ -218,6 +218,7 @@ define('forum/world', [ feedEl.querySelectorAll('[component="post/content"]').forEach((el) => { if (el.clientHeight < el.scrollHeight - 1) { el.parentNode.querySelector('[component="show/more"]').classList.remove('hidden'); + el.classList.toggle('clamp-fade-6', true); } }); diff --git a/src/views/partials/feed/item.tpl b/src/views/partials/feed/item.tpl index 0c6f7ae919..164cccdad9 100644 --- a/src/views/partials/feed/item.tpl +++ b/src/views/partials/feed/item.tpl @@ -54,12 +54,12 @@ -
+
{./content}
-
- +
+