diff --git a/packages/web/pages/settings/labels.tsx b/packages/web/pages/settings/labels.tsx index c7a6e6ab2..9604ddca0 100644 --- a/packages/web/pages/settings/labels.tsx +++ b/packages/web/pages/settings/labels.tsx @@ -88,21 +88,6 @@ const TableCardBox = styled(Box, { }, }) -const TableHeading = styled(Box, { - backgroundColor: '$grayBgActive', - // gridTemplateColumns: '20% 30% 1fr 230px 1fr', - gridTemplateColumns: '20% 30% 1fr 1fr', - alignItems: 'center', - padding: '12px 0px', - borderRadius: '5px 5px 0px 0px', - width: '100%', - textTransform: 'uppercase', - display: 'none', - '@md': { - display: 'grid', - }, -}) - const inputStyles = { backgroundColor: 'transparent', color: '$grayTextContrast', @@ -325,52 +310,6 @@ export default function LabelsPage(): JSX.Element { )} - - - - Name - - - - - Description - - - - - Color - - - - - Actions - - - <> {isCreateMode ? ( @@ -560,6 +499,7 @@ function GenericTableCard(props: GenericTableCardProps & { isLastChild?: boolean display: 'grid', width: '100%', gridGap: '$1', + height: '56px', gridTemplateColumns: '3fr 1fr', '.showHidden': { display: 'none', @@ -640,15 +580,18 @@ function GenericTableCard(props: GenericTableCardProps & { isLastChild?: boolean alignItems: 'center', }} > - + {showInput && ( + + )} + {showInput && ( + )} {moreActionsButton()} {editingLabelId === label?.id || !label ? ( <>