From 568e2e301c959b70243e8f849b8377205095d4c5 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Wed, 23 Mar 2022 20:47:39 -0700 Subject: [PATCH] Fix TasksTable styles --- ui/src/components/TasksTable.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ui/src/components/TasksTable.tsx b/ui/src/components/TasksTable.tsx index 29bc0b9..b0d5d93 100644 --- a/ui/src/components/TasksTable.tsx +++ b/ui/src/components/TasksTable.tsx @@ -12,6 +12,7 @@ import ScheduledTasksTable from "./ScheduledTasksTable"; import RetryTasksTable from "./RetryTasksTable"; import ArchivedTasksTable from "./ArchivedTasksTable"; import CompletedTasksTable from "./CompletedTasksTable"; +import TaskGroupsTable from "./TaskGroupsTable"; import { useHistory } from "react-router-dom"; import { queueDetailsPath, taskDetailsPath } from "../paths"; import { QueueInfo } from "../reducers/queuesReducer"; @@ -108,12 +109,14 @@ const useStyles = makeStyles((theme) => ({ marginLeft: "2px", }, searchbar: { - paddingLeft: theme.spacing(2), - paddingRight: theme.spacing(2), + paddingLeft: theme.spacing(1), + paddingRight: theme.spacing(1), + marginRight: theme.spacing(1), + flex: 1, }, search: { position: "relative", - width: "280px", + maxWidth: 400, borderRadius: "18px", backgroundColor: isDarkTheme(theme) ? "#303030" : theme.palette.grey[100], "&:hover, &:focus": { @@ -226,7 +229,7 @@ function TasksTable(props: Props & ReduxProps) { /> -

TODO: GroupTable here

+