#4976 - Fixed the dark mode for multi-select picker in ActivityTargetChips. Bug:  Fix: https://github.com/twentyhq/twenty/assets/16918891/8e72cd02-0956-468d-b898-a10313448f62 --------- Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
@ -6,7 +6,6 @@ import { v4 } from 'uuid';
|
|||||||
import { ActivityTargetWithTargetRecord } from '@/activities/types/ActivityTargetObject';
|
import { ActivityTargetWithTargetRecord } from '@/activities/types/ActivityTargetObject';
|
||||||
import { RecordChip } from '@/object-record/components/RecordChip';
|
import { RecordChip } from '@/object-record/components/RecordChip';
|
||||||
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
|
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
|
||||||
import { RGBA } from '@/ui/theme/constants/Rgba';
|
|
||||||
|
|
||||||
const MAX_RECORD_CHIPS_DISPLAY = 2;
|
const MAX_RECORD_CHIPS_DISPLAY = 2;
|
||||||
|
|
||||||
@ -19,7 +18,7 @@ const StyledContainer = styled.div`
|
|||||||
const StyledRelationsListContainer = styled(StyledContainer)`
|
const StyledRelationsListContainer = styled(StyledContainer)`
|
||||||
padding: ${({ theme }) => theme.spacing(2)};
|
padding: ${({ theme }) => theme.spacing(2)};
|
||||||
border-radius: ${({ theme }) => theme.spacing(1)};
|
border-radius: ${({ theme }) => theme.spacing(1)};
|
||||||
background-color: ${({ theme }) => RGBA(theme.color.gray10, 0.8)};
|
background-color: ${({ theme }) => theme.background.secondary};
|
||||||
box-shadow: '0px 2px 4px ${({ theme }) =>
|
box-shadow: '0px 2px 4px ${({ theme }) =>
|
||||||
theme.boxShadow.light}, 2px 4px 16px ${({ theme }) =>
|
theme.boxShadow.light}, 2px 4px 16px ${({ theme }) =>
|
||||||
theme.boxShadow.strong}';
|
theme.boxShadow.strong}';
|
||||||
|
|||||||
Reference in New Issue
Block a user