Skip to content

Commit

Permalink
fix(popover): fix positioning after the beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
fbasso committed May 12, 2021
1 parent 4fce706 commit e782244
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/popover/popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ ngb-popover-window {
pointer-events: auto;
}

&.bs-popover-top, &.bs-popover-bottom {
margin-top: $arrow-size / 2;
margin-bottom: $arrow-size / 2;
}

&.bs-popover-start, &.bs-popover-end {
margin-left: $arrow-size / 2;
margin-right: $arrow-size / 2;
}

&.bs-popover-top > .popover-arrow,
&.bs-popover-bottom > .popover-arrow {
left: 50%;
Expand Down

0 comments on commit e782244

Please sign in to comment.