tooltipster扩展窗口的高度/宽度

时间:2017-04-06 18:54:57

标签: css tooltipster

我使用工具提示器library,它在桌面上运行正常。但是在移动设备上没有足够的空间时它会扩展宽度/高度,所以当我打开工具提示时,我的固定元素就像页脚/标题一样移动了。

$(document).ready(function () {
  $('.tooltipster').tooltipster();
});
<div style="text-align: right">
    <span class="tooltipster" title="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.">show me</span>
</div>

这里的完整代码https://plnkr.co/edit/t4fa4Rj6GhReAaSYeXtq?p=preview

临时解决方案:删除这样的箭头:

.tooltipster-arrow {
    display: none;
}

enter image description here enter image description here

0 个答案:

没有答案