Fix arrow position of Popover, close #8548

This commit is contained in:
afc163 2017-12-11 16:02:53 +08:00
parent 1db952b575
commit 45559c84be

View File

@ -116,7 +116,7 @@
}
&-placement-top > &-content > &-arrow {
left: 50%;
margin-left: -@popover-arrow-width;
transform: translateX(-50%) rotate(45deg);
}
&-placement-topLeft > &-content > &-arrow {
left: 16px;
@ -133,7 +133,7 @@
}
&-placement-right > &-content > &-arrow {
top: 50%;
margin-top: -@popover-arrow-width;
transform: translateY(-50%) rotate(45deg);
}
&-placement-rightTop > &-content > &-arrow {
top: 12px;
@ -150,7 +150,7 @@
}
&-placement-bottom > &-content > &-arrow {
left: 50%;
margin-left: -@popover-arrow-width;
transform: translateX(-50%) rotate(45deg);
}
&-placement-bottomLeft > &-content > &-arrow {
left: 16px;
@ -167,7 +167,7 @@
}
&-placement-left > &-content > &-arrow {
top: 50%;
margin-top: -@popover-arrow-width;
transform: translateY(-50%) rotate(45deg);
}
&-placement-leftTop > &-content > &-arrow {
top: 12px;