Files
twenty_crm/front/src/modules/ui/dropdown/components/DropdownMenuItemContainer.tsx
Charles Bochet 6ced8434bd Uniformize folder structure (#693)
* Uniformize folder structure

* Fix icons

* Fix icons

* Fix tests

* Fix tests
2023-07-16 14:29:28 -07:00

18 lines
359 B
TypeScript

import styled from '@emotion/styled';
export const DropdownMenuItemContainer = styled.div`
--padding: ${({ theme }) => theme.spacing(1 / 2)};
align-items: flex-start;
display: flex;
flex-direction: column;
gap: 2px;
height: 100%;
max-height: 180px;
overflow-y: auto;
padding: var(--padding);
width: calc(100% - 2 * var(--padding));
`;