diff --git a/site/src/components/PageHeader/PageHeader.tsx b/site/src/components/PageHeader/PageHeader.tsx index d6196142f5018..0b06434f81301 100644 --- a/site/src/components/PageHeader/PageHeader.tsx +++ b/site/src/components/PageHeader/PageHeader.tsx @@ -62,6 +62,7 @@ const useStyles = makeStyles((theme) => ({ title: { fontSize: theme.spacing(3), + fontWeight: 400, margin: 0, display: "flex", alignItems: "center", diff --git a/site/src/components/Pill/Pill.tsx b/site/src/components/Pill/Pill.tsx index e7861182418f2..fe27c49539828 100644 --- a/site/src/components/Pill/Pill.tsx +++ b/site/src/components/Pill/Pill.tsx @@ -39,6 +39,7 @@ const useStyles = makeStyles((theme) => ({ icon ? theme.spacing(0.75) : theme.spacing(1.5), paddingRight: theme.spacing(1.5), whiteSpace: "nowrap", + fontWeight: 400, }, pillColor: { @@ -54,16 +55,16 @@ const useStyles = makeStyles((theme) => ({ iconWrapper: { marginRight: theme.spacing(0.5), - width: theme.spacing(2), - height: theme.spacing(2), + width: theme.spacing(1.75), + height: theme.spacing(1.75), lineHeight: 0, display: "flex", alignItems: "center", justifyContent: "center", "& > svg": { - width: theme.spacing(2), - height: theme.spacing(2), + width: theme.spacing(1.75), + height: theme.spacing(1.75), }, }, })) diff --git a/site/src/components/Workspace/Workspace.tsx b/site/src/components/Workspace/Workspace.tsx index c6120796791ca..2353e30d74689 100644 --- a/site/src/components/Workspace/Workspace.tsx +++ b/site/src/components/Workspace/Workspace.tsx @@ -155,10 +155,6 @@ export const Workspace: FC> = ({ } > - {hasTemplateIcon && ( > = ({ /> )}
- {workspace.name} + + {workspace.name} + + {workspace.owner_name} @@ -241,7 +243,7 @@ const spacerWidth = 300 export const useStyles = makeStyles((theme) => { return { statusBadge: { - marginBottom: theme.spacing(3), + marginLeft: theme.spacing(2), }, actions: { diff --git a/site/src/components/WorkspaceStatusBadge/WorkspaceStatusBadge.tsx b/site/src/components/WorkspaceStatusBadge/WorkspaceStatusBadge.tsx index 5e06f67ad7850..43625ee63203f 100644 --- a/site/src/components/WorkspaceStatusBadge/WorkspaceStatusBadge.tsx +++ b/site/src/components/WorkspaceStatusBadge/WorkspaceStatusBadge.tsx @@ -88,7 +88,6 @@ export const getStatus = ( icon: , } } - throw new Error("unknown text " + status) } export type WorkspaceStatusBadgeProps = {