diff --git a/ui/src/components/ArchivedTasksTable.tsx b/ui/src/components/ArchivedTasksTable.tsx index 7115620..12587be 100644 --- a/ui/src/components/ArchivedTasksTable.tsx +++ b/ui/src/components/ArchivedTasksTable.tsx @@ -1,5 +1,4 @@ import React, { useCallback, useState } from "react"; -import clsx from "clsx"; import { connect, ConnectedProps } from "react-redux"; import { makeStyles } from "@material-ui/core/styles"; import Table from "@material-ui/core/Table"; @@ -289,15 +288,15 @@ function ArchivedTasksTable(props: Props & ReduxProps) { ); } -const useRowStyles = makeStyles({ +const useRowStyles = makeStyles(theme => ({ actionCell: { width: "96px", }, - activeActionCell: { - display: "flex", - justifyContent: "space-between", - }, -}); + actionButton: { + marginLeft: 3, + marginRight: 3, + } +})); interface RowProps { task: ArchivedTaskExtended; @@ -340,10 +339,7 @@ function Row(props: RowProps) { {task.error_message} @@ -351,6 +347,7 @@ function Row(props: RowProps) {