From fb465579a057c3b373119dec31ad88bac9523617 Mon Sep 17 00:00:00 2001 From: RitvikSardana Date: Mon, 8 Jan 2024 15:04:58 +0530 Subject: [PATCH] fix: row width fix to remove unnecessary scroll bar --- src/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style.js b/src/style.js index 6fca086..c87d9b8 100644 --- a/src/style.js +++ b/src/style.js @@ -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' });