Skip to content

Commit

Permalink
fix(tooltip-popover): fix arrow position for bs4 (#3784)
Browse files Browse the repository at this point in the history
- Added new indents for bs4 arrow, because of new positioning in original bs4
  • Loading branch information
EvilAlexei authored and valorkin committed Mar 13, 2018
1 parent 898251d commit 0b1d8e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/popover/popover-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ import { isBs3 } from '../utils/theme-provider';
`
:host.bs-popover-top .arrow, :host.bs-popover-bottom .arrow {
left: 50%;
margin-left: -8px;
}
:host.bs-popover-left .arrow, :host.bs-popover-right .arrow {
top: 50%;
margin-top: -8px;
}
`
],
Expand Down
2 changes: 2 additions & 0 deletions src/tooltip/tooltip-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ import { isBs3 } from '../utils/theme-provider';
}
:host.bs-tooltip-top .arrow, :host.bs-tooltip-bottom .arrow {
left: 50%;
margin-left: -6px;
}
:host.bs-tooltip-left .arrow, :host.bs-tooltip-right .arrow {
top: 50%;
margin-top: -6px;
}
`
],
Expand Down

0 comments on commit 0b1d8e7

Please sign in to comment.