简体   繁体   English

Bootstrap 4 Tooltip走出div

[英]Bootstrap 4 Tooltip going out of the div

While hovering on an anchor tag containing the tooltip attributes, the tooltip is position far away from the anchor tag. 将鼠标悬停在包含工具提示属性的锚标记上时,工具提示的位置距离锚标记很远。

LINK - https://ewomenco.herokuapp.com/project/project-title/applicants 链接-https: //ewomenco.herokuapp.com/project/project-title/applicants

Also on opening inspect element it goes too far. 同样在打开检查元件时,它太过分了。

<a class="btn btn-secondary" data-toggle="tooltip" data-placement="top" data-title="Shortlist" title="shortlist"><i class="far fa-thumbs-up"></i></a>

Attaching the screenshot. 附上截图。

Stuck in it from a long time now. 从现在开始已经陷入困境。 Tried positioning of parent div but nothing works. 尝试定位父div的位置,但没有任何效果。

Got the Problem. 有问题了。

html, body { height : 100% }

When i removed the height 100%, it worked as expected. 当我移除高度100%时,它按预期工作。

I feel sorry for the people who downvoted the question, without even looking at it. 我为那些不赞成这个问题的人感到遗憾,甚至没有看它。

Stay blessed! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM