Skip to content

Commit

Permalink
fix: Model table not scrollable. (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund authored Sep 13, 2024
1 parent 71365d5 commit e0238e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions src/features/ModelTable/ModelTable.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const Table = styled.div`
max-width: 1750px;
> div {
height: 100%;
overflow: hidden;
> table {
min-width: 90% !important;
Expand Down Expand Up @@ -51,13 +50,3 @@ export const List = styled.div`
padding-right: ${spacings.X_SMALL};
}
`;

export const Upload = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
row-gap: ${spacings.X_SMALL};
> p {
margin: 0;
}
`;
1 change: 1 addition & 0 deletions src/features/ModelTable/ModelTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const ModelTable = () => {
columnResizeMode="onChange"
rows={data.data}
pageSize={10}
scrollbarHorizontal
columns={[
{ accessorKey: 'name', header: 'Model name', id: 'name' },
{
Expand Down

0 comments on commit e0238e5

Please sign in to comment.