Skip to content

The open alternative to Salesforce, designed for AI.

fix: Appearance Settings Cropped Card (#7232)

Harshit Singhc3e79e54b5fc
diff --git a/packages/twenty-front/src/modules/ui/input/color-scheme/components/ColorSchemePicker.tsx b/packages/twenty-front/src/modules/ui/input/color-scheme/components/ColorSchemePicker.tsx
index af7945cf733..4835fab2475 100644
--- a/packages/twenty-front/src/modules/ui/input/color-scheme/components/ColorSchemePicker.tsx
+++ b/packages/twenty-front/src/modules/ui/input/color-scheme/components/ColorSchemePicker.tsx
@@ -4,6 +4,7 @@ import styled from '@emotion/styled';
import { ColorScheme } from '@/workspace-member/types/WorkspaceMember';
import { ColorSchemeCard } from './ColorSchemeCard';
+import { MOBILE_VIEWPORT } from 'twenty-ui';
const StyledContainer = styled.div`
display: flex;
@@ -11,7 +12,9 @@ const StyledContainer = styled.div`
> * + * {
margin-left: ${({ theme }) => theme.spacing(4)};
}
- overflow: scroll;
+ @media (max-width: ${MOBILE_VIEWPORT}px) {
+ overflow: scroll;
+ }
`;
const StyledCardContainer = styled.div`