Skip to content

Commit

Permalink
fix(modal): reset scrollbar pixel (#3491)
Browse files Browse the repository at this point in the history
fixes #3490
  • Loading branch information
mahpah authored and valorkin committed Jan 18, 2018
1 parent 4164937 commit 1cd6f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modal/modal.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export class ModalDirective implements OnDestroy, OnInit {
}

protected resetScrollbar(): void {
document.body.style.paddingRight = this.originalBodyPadding;
document.body.style.paddingRight = this.originalBodyPadding + 'px';
}

// thx d.walsh
Expand Down

0 comments on commit 1cd6f94

Please sign in to comment.