Skip to content

Commit

Permalink
fix(ui): Style table
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Jan 1, 2023
1 parent f9d1e8c commit c525b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/scenes/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ const Pie = ({ data }: { data: any }) => {

const LastTable = ({ data }: { data: Array<VersionData> }) => {
return (
<TableContainer>
<Table sx={{ minWidth: 650 }} aria-label="simple table">
<TableContainer sx={{ maxHeight: "100%" }}>
<Table sx={{ minWidth: 650 }} stickyHeader>
<TableHead>
<TableRow>
<TableCell>Timestamp</TableCell>
Expand Down Expand Up @@ -235,7 +235,7 @@ const Dashboard = () => {
sx={{
gridRow: "span 3",
gridColumn: "span 7",
overflowY: "scroll",
overflow: "hidden",
}}
>
<LastTable data={data.lastVersions} />
Expand Down

0 comments on commit c525b2f

Please sign in to comment.