Skip to content

Commit

Permalink
fix: row width fix to remove unnecessary scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Jan 8, 2024
1 parent cca14e0 commit fb46557
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 fb46557

Please sign in to comment.