diff --git a/packages/web/pages/settings/emails.tsx b/packages/web/pages/settings/emails.tsx index 2e804b1a4..0d585aaeb 100644 --- a/packages/web/pages/settings/emails.tsx +++ b/packages/web/pages/settings/emails.tsx @@ -18,7 +18,7 @@ import { VStack, } from '../../components/elements/LayoutPrimitives' import { useCopyLink } from '../../lib/hooks/useCopyLink' -import { toast, Toaster } from 'react-hot-toast' +import { Toaster } from 'react-hot-toast' import { useCallback } from 'react' import { StyledText } from '../../components/elements/StyledText' import { applyStoredTheme } from '../../lib/themeUpdater' @@ -36,7 +36,7 @@ type CopyTextButtonProps = { } const HeaderWrapper = styled(Box, { - width: '863px', + width: '100%', '@md': { display: 'block', }, @@ -55,7 +55,6 @@ const TableCard = styled(Box, { }, '@md': { paddingLeft: '0', - width: '863px', }, }) @@ -66,7 +65,7 @@ const TableHeading = styled(Box, { alignItems: 'center', padding: '14px 0 14px 40px', borderRadius: '5px 5px 0px 0px', - width: '863px', + width: '100%', '@md': { display: 'flex', } @@ -89,16 +88,6 @@ const CopyTextBtnWrapper = styled(Box, { border: '1px solid rgba(0, 0, 0, 0.06)', }) -const MobileBtnWrapper = styled(Box, { - display: 'flex', - position: 'fixed', - bottom: '16px', - right: '25px', - '@md': { - display: 'none', - }, -}) - const InfoIcon = styled(Info, { marginTop: '8px', '&:hover': { @@ -209,11 +198,9 @@ export default function EmailsPage(): JSX.Element { color: '$grayText', paddingBottom: '5rem', paddingTop: '2rem', - '@md': { m: '16px', alignSelf: 'center', - maxWidth: '72%', mx: '42px', paddingTop: '0', }, @@ -242,27 +229,36 @@ export default function EmailsPage(): JSX.Element { - - - + + + + + - )} - + ) })} - - - ) diff --git a/packages/web/pages/settings/labels.tsx b/packages/web/pages/settings/labels.tsx index de3bbd0e8..fa1af619e 100644 --- a/packages/web/pages/settings/labels.tsx +++ b/packages/web/pages/settings/labels.tsx @@ -147,16 +147,6 @@ const IconButton = styled(Button, { }, }) -const MobileBtnWrapper = styled(Box, { - display: 'flex', - position: 'fixed', - bottom: '16px', - right: '25px', - '@md': { - display: 'none', - }, -}) - const Input = styled('input', { ...inputStyles }) const TextArea = styled('textarea', { ...inputStyles }) @@ -273,7 +263,7 @@ export default function LabelsPage(): JSX.Element { Labels - + {isCreateMode ? null : ( <> - - - + + )} @@ -497,8 +486,8 @@ function GenericTableCard(props: GenericTableCardProps & { isLastChild?: boolean display: 'grid', width: '100%', gridGap: '$1', - height: '56px', gridTemplateColumns: '3fr 1fr', + height: editingLabelId === label?.id ? '280px' : '56px', '.showHidden': { display: 'none', }, @@ -511,7 +500,7 @@ function GenericTableCard(props: GenericTableCardProps & { isLastChild?: boolean }, }, '@md': { - // gridTemplateColumns: '20% 15% 1fr 1fr 1fr', + height: '56px', gridTemplateColumns: '20% 28% 1fr 1fr', }, }}