Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1862 from raphink/content_width
Browse files Browse the repository at this point in the history
Set content width to avoid overflow (Fix #1853)
  • Loading branch information
AlexDM0 committed May 19, 2016
2 parents 94d9fdc + 087b96b commit 2c78738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -22462,6 +22462,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.dom.content.style.right = contentStartPosition + 'px';
} else {
this.dom.content.style.left = contentStartPosition + 'px';
this.dom.content.style.width = 'calc(100% - ' + contentStartPosition + 'px)';
}
}
};
Expand Down
1 change: 1 addition & 0 deletions lib/timeline/component/item/RangeItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ RangeItem.prototype.repositionX = function(limitSize) {
this.dom.content.style.right = contentStartPosition + 'px';
} else {
this.dom.content.style.left = contentStartPosition + 'px';
this.dom.content.style.width = 'calc(100% - ' + contentStartPosition + 'px)';
}
}
};
Expand Down

0 comments on commit 2c78738

Please sign in to comment.