Skip to content
Advertisement

Prevent Bootstrap .table-responsive style from cropping a tooltip

I am having some problem with Bootstrap’s table-responsive style.
enter image description here

I have tried some code here https://codepen.io/arindamx01/pen/gJOqxK to make the full tooltip visible. I have tried without .table-responsive class. Without .table-responsive class it works well: I can see the tooltip by hovering on time. But when I add .table-responsive I can’t see the total tooltip. The tooltip appears cropped at the bottom, and a long scroll bar appears on the right side of the table.

Expected display: enter image description here

Advertisement

Answer

Change following css to relative to absolute

.tooltipItem_dist {
    position: absolute;
}

https://codepen.io/kashmiriguide/pen/gJOyjW

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement