Change component SynchronizeTip
This commit is contained in:
parent
4591367592
commit
262015dd14
|
@ -111,7 +111,9 @@ define([
|
||||||
} else
|
} else
|
||||||
if (this.placement == 'top')
|
if (this.placement == 'top')
|
||||||
this.cmpEl.css({bottom : innerHeight - showxy.top + 'px', right: Common.Utils.innerWidth() - showxy.left - this.target.width()/2 + 'px'});
|
this.cmpEl.css({bottom : innerHeight - showxy.top + 'px', right: Common.Utils.innerWidth() - showxy.left - this.target.width()/2 + 'px'});
|
||||||
else {// left or right
|
else if (this.placement == 'target') {
|
||||||
|
this.cmpEl.css({top : (showxy.top+5) + 'px', left: (showxy.left+5) + 'px'});
|
||||||
|
} else {// left or right
|
||||||
var top = showxy.top + this.target.height()/2,
|
var top = showxy.top + this.target.height()/2,
|
||||||
height = this.cmpEl.height();
|
height = this.cmpEl.height();
|
||||||
if (top+height>innerHeight)
|
if (top+height>innerHeight)
|
||||||
|
|
|
@ -23,6 +23,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.no-arrow {
|
||||||
|
.tip-arrow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.asc-synchronizetip {
|
||||||
|
padding-right: 30px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.inc-index {
|
&.inc-index {
|
||||||
z-index: @zindex-navbar + 4;
|
z-index: @zindex-navbar + 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue