chip-count-black-mode (#12505)
 Add chip count display for black mode in participant chips. Improves visual clarity for participant lists in calendar events. Fix https://github.com/twentyhq/twenty/issues/12473
This commit is contained in:
@ -4,9 +4,9 @@ import { ReactElement, useCallback, useEffect, useRef, useState } from 'react';
|
|||||||
import { ExpandedListDropdown } from '@/ui/layout/expandable-list/components/ExpandedListDropdown';
|
import { ExpandedListDropdown } from '@/ui/layout/expandable-list/components/ExpandedListDropdown';
|
||||||
import { isFirstOverflowingChildElement } from '@/ui/layout/expandable-list/utils/isFirstOverflowingChildElement';
|
import { isFirstOverflowingChildElement } from '@/ui/layout/expandable-list/utils/isFirstOverflowingChildElement';
|
||||||
import { isDefined } from 'twenty-shared/utils';
|
import { isDefined } from 'twenty-shared/utils';
|
||||||
import { AnimatedContainer } from 'twenty-ui/utilities';
|
|
||||||
import { ChipSize } from 'twenty-ui/components';
|
import { ChipSize } from 'twenty-ui/components';
|
||||||
import { OverflowingTextWithTooltip } from 'twenty-ui/display';
|
import { OverflowingTextWithTooltip } from 'twenty-ui/display';
|
||||||
|
import { AnimatedContainer } from 'twenty-ui/utilities';
|
||||||
|
|
||||||
const StyledContainer = styled.div`
|
const StyledContainer = styled.div`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -37,6 +37,7 @@ const StyledChildContainer = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledUnShrinkableContainer = styled.div`
|
const StyledUnShrinkableContainer = styled.div`
|
||||||
|
color: ${({ theme }) => theme.font.color.primary};
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user