fix hover popup bug

This commit is contained in:
taDuc
2026-06-07 10:50:44 +07:00
parent 820e0b5216
commit 501d562025
9 changed files with 530 additions and 243 deletions
+1 -24
View File
@@ -441,31 +441,8 @@ function PublicWikiSidebar({
color: "#f8fafc",
}}
>
{entity?.name?.trim() || wiki?.title?.trim() || "Wiki"}
{wiki?.title?.trim() || entity?.name?.trim() || "Wiki"}
</div>
{entity?.description?.trim() ? (
<div
style={{
marginTop: 8,
fontSize: 13,
lineHeight: 1.5,
color: "#cbd5e1",
}}
>
{entity.description.trim()}
</div>
) : null}
{!compactHeader && wiki?.title?.trim() && wiki.title.trim() !== entity?.name?.trim() ? (
<div
style={{
marginTop: 6,
fontSize: 12,
color: "#94a3b8",
}}
>
{wiki.title.trim()}
</div>
) : null}
</div>
<button