Merge branch 'feature/Bug_44946' into develop

This commit is contained in:
JuliaSvinareva 2020-04-16 21:24:20 +03:00
commit b8cd3a4054
2 changed files with 5 additions and 1 deletions

View file

@ -142,6 +142,7 @@ define([
me.bar.$bar.scrollLeft(me.scrollLeft);
me.bar.scrollX = undefined;
}
me.bar.checkInvisible();
me.drag = undefined;
me.bar.trigger('tab:drop', this);
@ -542,7 +543,7 @@ define([
this.checkInvisible(suppress);
} else if ( index >= (this.tabs.length - 1) || index == 'last') {
var tab = this.tabs[this.tabs.length-1].$el;
this.$bar.scrollLeft(this.$bar.scrollLeft() + (tab.position().left + parseInt(tab.css('width')) - this.$bar.width()) + 1);
this.$bar.scrollLeft(this.$bar.scrollLeft() + (tab.position().left + parseInt(tab.css('width')) - this.$bar.width()) + 20);
this.checkInvisible(suppress);
} else {
var rightbound = this.$bar.width(),

View file

@ -41,6 +41,9 @@
cursor: pointer;
}
}
&:last-of-type {
margin-right: 20px;
}
}
&.bottom {