Merge pull request #194 from RitvikSardana/develop-ritvik-rowWidth-fix
fix: row width fix to remove unnecessary scroll bar
This commit is contained in:
commit
dbde62ce40
@ -312,7 +312,7 @@ export default class Style {
|
|||||||
if (!firstRow) return;
|
if (!firstRow) return;
|
||||||
const rowWidth = $.style(firstRow, 'width');
|
const rowWidth = $.style(firstRow, 'width');
|
||||||
|
|
||||||
let width = bodyWidth > rowWidth ? rowWidth : bodyWidth;
|
let width = bodyWidth > rowWidth ? rowWidth + 10 : bodyWidth;
|
||||||
$.style(this.bodyScrollable, {
|
$.style(this.bodyScrollable, {
|
||||||
width: width + 'px'
|
width: width + 'px'
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user