Change component SynchronizeTip

This commit is contained in:
Julia Radzhabova 2020-07-17 11:13:50 +03:00
parent 4591367592
commit 262015dd14
2 changed files with 13 additions and 1 deletions

View file

@ -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)

View file

@ -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;
} }