Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[样式] - daisyUI 的 Tooltip 导致的问题 #696

Closed
fengstats opened this issue May 17, 2024 · 1 comment
Closed

[样式] - daisyUI 的 Tooltip 导致的问题 #696

fengstats opened this issue May 17, 2024 · 1 comment

Comments

@fengstats
Copy link
Collaborator

Description

首页打卡图:可以看到右侧异常多出来了一部分区域,经过排查后才发现是 tooltip 的 DOM 占位问题,导致原本足够显示的空间出现了滚动条显示

image

游戏页:同样的情况

image

还不好直接使用 overflow: hidden; 截断的方式解决,会让提示文本信息显示补全(提示文本本来的初衷就是为了给用户显示更多信息内容)

提供一个替换方案作为参考:Tippy.js - Tooltip, Popover, Dropdown, and Menu Library

@fengstats fengstats changed the title [问题] - daisyUI 的 Tooltip 导致的问题 [样式] - daisyUI 的 Tooltip 导致的问题 May 18, 2024
@fengstats
Copy link
Collaborator Author

done

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

No branches or pull requests

1 participant