Removed custom scroll class because it is not working

This commit is contained in:
Lucas Oliveira 2024-06-10 08:37:48 -03:00
commit 3d7c62cb0f
3 changed files with 10 additions and 11 deletions

View file

@ -129,7 +129,6 @@ const TableComponent = forwardRef<
<AgGridReact <AgGridReact
{...props} {...props}
animateRows={false} animateRows={false}
className={cn(props.className, "cusm-scroll")}
defaultColDef={{ defaultColDef={{
minWidth: 100, minWidth: 100,
autoHeight: true, autoHeight: true,

View file

@ -1,7 +1,7 @@
/* set the background color of many elements across the grid */ /* set the background color of many elements across the grid */
.ag-theme-shadcn { .ag-theme-shadcn {
--ag-foreground-color: hsl(var(--foreground)); --ag-foreground-color: hsl(var(--foreground));
--ag-background-color: hsl(var(--background)); --ag-background-color: hsl(var(--background));
--ag-secondary-foreground-color: hsl(var(--secondary-foreground)); --ag-secondary-foreground-color: hsl(var(--secondary-foreground));
--ag-data-color: hsl(var(--foreground)); --ag-data-color: hsl(var(--foreground));
--ag-header-foreground-color: hsl(var(--muted-foreground)); --ag-header-foreground-color: hsl(var(--muted-foreground));
@ -19,3 +19,12 @@
.ag-theme-shadcn .ag-paging-panel { .ag-theme-shadcn .ag-paging-panel {
height: 3rem; height: 3rem;
} }
.ag-row .ag-cell {
align-content: center !important;
}
.ag-cell {
line-height: 1.25rem;
padding-top: 0.675rem;
padding-bottom: 0.675rem;
}

View file

@ -104,12 +104,3 @@ select:-webkit-autofill:focus {
.json-view-dark { .json-view-dark {
background-color: #141924 !important; background-color: #141924 !important;
} }
.ag-row .ag-cell {
align-content: center !important;
}
.ag-cell {
line-height: 1.25rem;
padding-top: 0.675rem;
padding-bottom: 0.675rem;
}