Skip to content

Commit

Permalink
fixed scroll tool alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
HarveyKandola committed Nov 6, 2016
1 parent eabdc24 commit b6afd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app/components/document/document-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default Ember.Component.extend(TooltipMixin, NotifierMixin, {
if (windowpos >= 300) {
this.set('showScrollTool', true);
s.addClass("stuck-tool");
s.css('left', parseInt($(".zone-navigation").css('width')) + parseInt($(".zone-sidebar").css('width')) - 18 + 'px');
s.css('left', parseInt($(".zone-navigation").css('width')) + parseInt($(".zone-sidebar").css('width')) - 16 + 'px');
} else {
this.set('showScrollTool', false);
s.removeClass("stuck-tool");
Expand Down

0 comments on commit b6afd06

Please sign in to comment.