Skip to content

Commit

Permalink
🐛 Fix minimap size in absolute mode with adjustMinimapToSoftWrap enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Apr 16, 2016
1 parent e2e3d9f commit c7fb8ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/minimap-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ export default class MinimapElement {

if (this.adjustToSoftWrap && this.flexBasis) {
this.style.flexBasis = this.flexBasis + 'px'
this.style.width = this.flexBasis + 'px'
} else {
this.style.flexBasis = null
}
Expand Down

0 comments on commit c7fb8ac

Please sign in to comment.