Open ghost opened 7 years ago
When using ANY|top or ANY|bottom with ns-popover-placement the Triangle is positioned essentially at top:0, or bottom:0.
ANY|top
ANY|bottom
ns-popover-placement
top:0
bottom:0
This is EXACTLY what's happening, but it's the end-result.
As a solution, I was able to correct with:
.ns-popover-tooltip-theme { &.ns-popover-top-align { .ns-popover-tooltip { margin-top: -$popover-triangle-size; } } &.ns-popover-bottom-align { .ns-popover-tooltip { margin-bottom: -$popover-triangle-size; } } }
The key trick is offsetting by -$popover-triangle-size
-$popover-triangle-size
I think this is an easy fix and doesn't need much testing to merge in.
When using
ANY|top
orANY|bottom
withns-popover-placement
the Triangle is positioned essentially attop:0
, orbottom:0
.This is EXACTLY what's happening, but it's the end-result.
As a solution, I was able to correct with:
The key trick is offsetting by
-$popover-triangle-size
I think this is an easy fix and doesn't need much testing to merge in.