Skip to content

Commit

Permalink
Merge pull request #194 from RitvikSardana/develop-ritvik-rowWidth-fix
Browse files Browse the repository at this point in the history
fix: row width fix to remove unnecessary scroll bar
  • Loading branch information
shariquerik authored Jan 8, 2024
2 parents cca14e0 + fb46557 commit dbde62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default class Style {
if (!firstRow) return;
const rowWidth = $.style(firstRow, 'width');

let width = bodyWidth > rowWidth ? rowWidth : bodyWidth;
let width = bodyWidth > rowWidth ? rowWidth + 10 : bodyWidth;
$.style(this.bodyScrollable, {
width: width + 'px'
});
Expand Down

0 comments on commit dbde62c

Please sign in to comment.