This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Move arrow position style overrides to a class instead of inline styles. This will allow for consumers to position the arrow to suit their needs by setting margins on the arrow element. - Optimize when the positionTooltip function calls the positionArrow function. Now the arrow position will only be recalced when the tooltip placement changes. Fixes #5464 Closes #5502
- Loading branch information
Showing
3 changed files
with
42 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow, | ||
[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow, | ||
[uib-popover-popup].popover.top-left > .arrow, | ||
[uib-popover-popup].popover.top-right > .arrow, | ||
[uib-popover-popup].popover.bottom-left > .arrow, | ||
[uib-popover-popup].popover.bottom-right > .arrow, | ||
[uib-popover-popup].popover.left-top > .arrow, | ||
[uib-popover-popup].popover.left-bottom > .arrow, | ||
[uib-popover-popup].popover.right-top > .arrow, | ||
[uib-popover-popup].popover.right-bottom > .arrow { | ||
top: auto; | ||
bottom: auto; | ||
left: auto; | ||
right: auto; | ||
margin: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters