fix: add scrollbar gutter property

This commit is contained in:
Lucas Smith
2024-03-11 00:52:56 +00:00
parent 4476cf8fd1
commit 7f31ab1ce3
2 changed files with 7 additions and 2 deletions

View File

@ -118,7 +118,7 @@ export function DataTable<TData, TValue>({
<TableCell
key={cell.id}
style={{
width: cell.column.getSize(),
width: `${cell.column.getSize()}px`,
}}
>
{flexRender(cell.column.columnDef.cell, cell.getContext())}

View File

@ -91,6 +91,11 @@
@apply border-border;
}
html,
body {
scrollbar-gutter: stable;
}
body {
@apply bg-background text-foreground;
font-feature-settings: 'rlig' 1, 'calt' 1;