Skip to content

fix: Tooltip popup being clipped in PlatformDashboard | 修复平台仪表盘页面 Tooltip 弹出框被裁剪问题#521

Open
liaozip wants to merge 1 commit intodataelement:mainfrom
liaozip:fix/tooltip-overflow-bug
Open

fix: Tooltip popup being clipped in PlatformDashboard | 修复平台仪表盘页面 Tooltip 弹出框被裁剪问题#521
liaozip wants to merge 1 commit intodataelement:mainfrom
liaozip:fix/tooltip-overflow-bug

Conversation

@liaozip
Copy link
Copy Markdown
Contributor

@liaozip liaozip commented May 5, 2026

Description | 描述

English:
Fix tooltip popup being clipped in PlatformDashboard page.

中文:
修复 PlatformDashboard 页面中的 Tooltip 弹出框被裁剪的问题。


Changes Made | 修改内容

English:

  • frontend/src/pages/PlatformDashboard.tsx:
    • Changed overflow: 'hidden' to overflow: 'visible' in LeaderboardCard component (L417)
    • Changed overflow: 'hidden' to overflow: 'visible' in ChurnTable component (L352)

中文:

  • frontend/src/pages/PlatformDashboard.tsx:
    • LeaderboardCard 组件中将 overflow: 'hidden' 改为 overflow: 'visible' (L417)
    • ChurnTable 组件中将 overflow: 'hidden' 改为 overflow: 'visible' (L352)

Bug Fixed | 修复的问题

English:
The InfoTooltip popup icons (i) next to:

  • "Top 20 Companies by Tokens"
  • "Top 20 Agents by Tokens"
  • "Churn Warning"

were being clipped by their parent containers' overflow: hidden styles.

中文:
以下三个模块旁边的说明提示图标 (i) 的弹出框:

  • "Top 20 Companies by Tokens"(按令牌使用排行前 20 家公司)
  • "Top 20 Agents by Tokens"(按令牌使用排行前 20 个 Agent)
  • "Churn Warning"(流失警告)

会被其父容器的 overflow: hidden 样式裁剪,导致无法正常显示。


Testing | 测试

image

English:

  1. Navigate to Platform Dashboard as admin
  2. Hover over the (i) icons next to the affected sections
  3. Verify tooltips display correctly without being clipped

中文:

  1. 以管理员身份导航到 Platform Dashboard(平台仪表盘)
  2. 将鼠标悬停在受影响部分旁边的 (i) 图标上
  3. 验证 Tooltip 能够正确显示而不被裁剪

L417: LeaderboardCard 组件的 overflow 修改
L352: ChurnTable 组件的 overflow 修改
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant