Skip to content

Commit

Permalink
fix(popover): added margin to arrow placement
Browse files Browse the repository at this point in the history
Fixes #1845
Closes #1855
  • Loading branch information
mschoudry authored and pkozlowski-opensource committed Sep 15, 2017
1 parent ed88f72 commit 2506ae4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/popover/popover.ts
Expand Up @@ -38,6 +38,7 @@ let nextId = 0;
styles: [`
:host.bs-popover-top .arrow, :host.bs-popover-bottom .arrow {
left: 50%;
margin-left: -5px;
}
:host.bs-popover-top-left .arrow, :host.bs-popover-bottom-left .arrow {
Expand All @@ -51,6 +52,7 @@ let nextId = 0;
:host.bs-popover-left .arrow, :host.bs-popover-right .arrow {
top: 50%;
margin-top: -5px;
}
:host.bs-popover-left-top .arrow, :host.bs-popover-right-top .arrow {
Expand Down

0 comments on commit 2506ae4

Please sign in to comment.