mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
fix: delete :after of placement
This commit is contained in:
parent
e62c4c7666
commit
d3e0c844a3
@ -42,7 +42,7 @@ const Popover = React.createClass({
|
||||
},
|
||||
|
||||
getPopupDomNode() {
|
||||
return this.refs.tooltip.refs.trigger.popupDomNode;
|
||||
return this.refs.tooltip.getPopupDomNode();
|
||||
},
|
||||
|
||||
getOverlay() {
|
||||
|
@ -57,45 +57,21 @@
|
||||
&-placement-top, &-placement-topLeft, &-placement-topRight {
|
||||
margin-top: -@popover-arrow-width;
|
||||
padding-bottom: @popover-distance;
|
||||
&:after {
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&-placement-right, &-placement-rightTop, &-placement-rightBottom {
|
||||
margin-left: @popover-arrow-width;
|
||||
padding-left: @popover-distance;
|
||||
&:after {
|
||||
top: 0;
|
||||
left: -8px;
|
||||
width: 8px;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&-placement-bottom, &-placement-bottomLeft, &-placement-bottomRight {
|
||||
margin-top: @popover-arrow-width;
|
||||
padding-top: @popover-distance;
|
||||
&:after {
|
||||
top: -8px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&-placement-left, &-placement-leftTop, &-placement-leftBottom {
|
||||
margin-left: -@popover-arrow-width;
|
||||
padding-right: @popover-distance;
|
||||
&:after {
|
||||
top: 0;
|
||||
left: 100%;
|
||||
width: 8px;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&-inner {
|
||||
|
Loading…
Reference in New Issue
Block a user