File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ let nextId = 0;
34
34
template : `<div class="arrow"></div><div class="tooltip-inner"><ng-content></ng-content></div>` ,
35
35
styles : [ `
36
36
:host.bs-tooltip-top .arrow, :host.bs-tooltip-bottom .arrow {
37
- left: 50%;
37
+ left: calc( 50% - 0.4rem) ;
38
38
}
39
39
40
40
:host.bs-tooltip-top-left .arrow, :host.bs-tooltip-bottom-left .arrow {
@@ -43,20 +43,20 @@ let nextId = 0;
43
43
44
44
:host.bs-tooltip-top-right .arrow, :host.bs-tooltip-bottom-right .arrow {
45
45
left: auto;
46
- right: 1em ;
46
+ right: 0.8rem ;
47
47
}
48
48
49
49
:host.bs-tooltip-left .arrow, :host.bs-tooltip-right .arrow {
50
- top: 50%;
50
+ top: calc( 50% - 0.4rem) ;
51
51
}
52
52
53
53
:host.bs-tooltip-left-top .arrow, :host.bs-tooltip-right-top .arrow {
54
- top: 0.7em ;
54
+ top: 0.4rem ;
55
55
}
56
56
57
57
:host.bs-tooltip-left-bottom .arrow, :host.bs-tooltip-right-bottom .arrow {
58
58
top: auto;
59
- bottom: 0.7em ;
59
+ bottom: 0.4rem ;
60
60
}
61
61
` ]
62
62
} )
You can’t perform that action at this time.
0 commit comments