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 <TableCell
key={cell.id} key={cell.id}
style={{ style={{
width: cell.column.getSize(), width: `${cell.column.getSize()}px`,
}} }}
> >
{flexRender(cell.column.columnDef.cell, cell.getContext())} {flexRender(cell.column.columnDef.cell, cell.getContext())}

View File

@ -81,7 +81,7 @@
--ring: 95.08 71.08% 67.45%; --ring: 95.08 71.08% 67.45%;
--radius: 0.5rem; --radius: 0.5rem;
--warning: 54 96% 45%; --warning: 54 96% 45%;
} }
} }
@ -91,6 +91,11 @@
@apply border-border; @apply border-border;
} }
html,
body {
scrollbar-gutter: stable;
}
body { body {
@apply bg-background text-foreground; @apply bg-background text-foreground;
font-feature-settings: 'rlig' 1, 'calt' 1; font-feature-settings: 'rlig' 1, 'calt' 1;