Avoid settings object cover image to be reduced on scroll (#11473)

Fix https://github.com/twentyhq/twenty/issues/11420
This commit is contained in:
Thomas Trompette
2025-04-09 16:43:25 +02:00
committed by GitHub
parent 9e0402e691
commit 025e50645d

View File

@ -2,11 +2,11 @@ import styled from '@emotion/styled';
import { SettingsPath } from '@/types/SettingsPath';
import { useLingui } from '@lingui/react/macro';
import { IconEye } from 'twenty-ui/display';
import { FloatingButton } from 'twenty-ui/input';
import { Card } from 'twenty-ui/layout';
import DarkCoverImage from '../../assets/cover-dark.png';
import LightCoverImage from '../../assets/cover-light.png';
import { Card } from 'twenty-ui/layout';
import { FloatingButton } from 'twenty-ui/input';
import { IconEye } from 'twenty-ui/display';
const StyledCoverImageContainer = styled(Card)`
align-items: center;
@ -18,7 +18,7 @@ const StyledCoverImageContainer = styled(Card)`
border-radius: ${({ theme }) => theme.border.radius.md};
box-sizing: border-box;
display: flex;
height: 153px;
min-height: 153px;
justify-content: center;
position: relative;
margin-bottom: ${({ theme }) => theme.spacing(8)};