Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 66c416c

Browse files
RobJacobswesleycho
authored andcommitted
fix(tooltip): css to support arrow positioning
- Added css selectors to support arrow positioning on popover/tooltip html and template directives. Fixes #5610 Closes #5611
1 parent f2004a9 commit 66c416c

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

src/tooltip/tooltip.css

+36-2
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,55 @@
66
[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,
77
[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,
88
[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,
9+
[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,
10+
[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,
11+
[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,
12+
[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,
13+
[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,
14+
[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,
15+
[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,
16+
[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,
17+
[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,
18+
[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,
19+
[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,
20+
[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,
21+
[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,
22+
[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,
23+
[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,
24+
[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,
925
[uib-popover-popup].popover.top-left > .arrow,
1026
[uib-popover-popup].popover.top-right > .arrow,
1127
[uib-popover-popup].popover.bottom-left > .arrow,
1228
[uib-popover-popup].popover.bottom-right > .arrow,
1329
[uib-popover-popup].popover.left-top > .arrow,
1430
[uib-popover-popup].popover.left-bottom > .arrow,
1531
[uib-popover-popup].popover.right-top > .arrow,
16-
[uib-popover-popup].popover.right-bottom > .arrow {
32+
[uib-popover-popup].popover.right-bottom > .arrow,
33+
[uib-popover-html-popup].popover.top-left > .arrow,
34+
[uib-popover-html-popup].popover.top-right > .arrow,
35+
[uib-popover-html-popup].popover.bottom-left > .arrow,
36+
[uib-popover-html-popup].popover.bottom-right > .arrow,
37+
[uib-popover-html-popup].popover.left-top > .arrow,
38+
[uib-popover-html-popup].popover.left-bottom > .arrow,
39+
[uib-popover-html-popup].popover.right-top > .arrow,
40+
[uib-popover-html-popup].popover.right-bottom > .arrow,
41+
[uib-popover-template-popup].popover.top-left > .arrow,
42+
[uib-popover-template-popup].popover.top-right > .arrow,
43+
[uib-popover-template-popup].popover.bottom-left > .arrow,
44+
[uib-popover-template-popup].popover.bottom-right > .arrow,
45+
[uib-popover-template-popup].popover.left-top > .arrow,
46+
[uib-popover-template-popup].popover.left-bottom > .arrow,
47+
[uib-popover-template-popup].popover.right-top > .arrow,
48+
[uib-popover-template-popup].popover.right-bottom > .arrow {
1749
top: auto;
1850
bottom: auto;
1951
left: auto;
2052
right: auto;
2153
margin: 0;
2254
}
2355

24-
[uib-popover-popup].popover, [uib-popover-template-popup].popover, [uib-popover-html-popup].popover {
56+
[uib-popover-popup].popover,
57+
[uib-popover-html-popup].popover,
58+
[uib-popover-template-popup].popover {
2559
display: block !important;
2660
}

0 commit comments

Comments
 (0)