fix: Settings card inconsitent for mobile viewports (#7464)

Closes #7457

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Harshit Singh 2024-10-10 21:13:22 +05:30 committed by GitHub
parent 9277cb7729
commit 43a0006947
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,10 @@
import styled from '@emotion/styled';
import { H2Title, IconCalendarEvent, IconMailCog } from 'twenty-ui';
import {
H2Title,
IconCalendarEvent,
IconMailCog,
MOBILE_VIEWPORT,
} from 'twenty-ui';
import { SettingsCard } from '@/settings/components/SettingsCard';
import { getSettingsPagePath } from '@/settings/utils/getSettingsPagePath';
@ -12,6 +17,10 @@ const StyledCardsContainer = styled.div`
display: flex;
gap: ${({ theme }) => theme.spacing(4)};
margin-top: ${({ theme }) => theme.spacing(6)};
@media (max-width: ${MOBILE_VIEWPORT}pxF) {
flex-direction: column;
}
`;
export const SettingsAccountsSettingsSection = () => {