Bootstrap popover放置自动,正文+标题放置

时间:2018-02-09 15:05:39

标签: javascript bootstrap-popover placement

这是我的最后一招,因为我正在看这个问题:

Changing the position of Bootstrap popovers based on the popover's X position in relation to window edge?

并且无法找到我的问题的解决方案,目前我有这个代码触发的弹出窗口:

  Sample Name  Type    Intensity    IntensityCorrected
1.   A           1        16              14 
2.   B           1        12              10
3.   C           1        13              11
4.   D           1        10              8
5.   Background  1        2               0
6.   A           2        14              11
7.   B           2        12              9
8.   C           2        9               6
9.   D           2        7               4
10.  Background  2        3               0

当弹出窗口到达最大身体顶部时,它会自动将其向下推,但我想它也需要标题的高度,有没有办法指定顶部位置的像素?喜欢"安置:'自动顶部' + 50",因为这是发生的事情:

Current problem

提前致谢。

0 个答案:

没有答案
相关问题