From bf1af216e1871829c2036d25ac872bde04b08cd6 Mon Sep 17 00:00:00 2001 From: Abhineet Jain Date: Wed, 13 Jul 2022 17:59:09 -0700 Subject: [PATCH] fix: remove access column header (#2976) --- site/src/components/Resources/Resources.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/src/components/Resources/Resources.tsx b/site/src/components/Resources/Resources.tsx index e3214993b4..bd9834b6a1 100644 --- a/site/src/components/Resources/Resources.tsx +++ b/site/src/components/Resources/Resources.tsx @@ -22,7 +22,6 @@ const Language = { resourceLabel: "Resource", agentsLabel: "Agents", agentLabel: "Agent", - accessLabel: "Access", } interface ResourcesProps { @@ -64,7 +63,7 @@ export const Resources: FC = ({ - {canUpdateWorkspace && {Language.accessLabel}} + {canUpdateWorkspace && } @@ -80,7 +79,7 @@ export const Resources: FC = ({ if (!agent) { return ( - + {resource.name} {resource.type} @@ -164,7 +163,7 @@ const useStyles = makeStyles((theme) => ({ // Adds some left spacing agentColumn: { - paddingLeft: `${theme.spacing(2)}px !important`, + paddingLeft: `${theme.spacing(4)}px !important`, }, agentInfo: { @@ -184,5 +183,6 @@ const useStyles = makeStyles((theme) => ({ display: "flex", gap: theme.spacing(0.5), flexWrap: "wrap", + justifyContent: "flex-end", }, }))