Avoid settings object cover image to be reduced on scroll (#11473)
Fix https://github.com/twentyhq/twenty/issues/11420
This commit is contained in:
@ -2,11 +2,11 @@ import styled from '@emotion/styled';
|
|||||||
|
|
||||||
import { SettingsPath } from '@/types/SettingsPath';
|
import { SettingsPath } from '@/types/SettingsPath';
|
||||||
import { useLingui } from '@lingui/react/macro';
|
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 DarkCoverImage from '../../assets/cover-dark.png';
|
||||||
import LightCoverImage from '../../assets/cover-light.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)`
|
const StyledCoverImageContainer = styled(Card)`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -18,7 +18,7 @@ const StyledCoverImageContainer = styled(Card)`
|
|||||||
border-radius: ${({ theme }) => theme.border.radius.md};
|
border-radius: ${({ theme }) => theme.border.radius.md};
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 153px;
|
min-height: 153px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: ${({ theme }) => theme.spacing(8)};
|
margin-bottom: ${({ theme }) => theme.spacing(8)};
|
||||||
|
|||||||
Reference in New Issue
Block a user