[Fix] : Horizontal scroll issue in dropdown (#7682)

In this PR, I changed the hard-coded width value to a dynamic value
which will be calculated based on the parent container.

This PR closes issue: #7615
This commit is contained in:
Ronin
2024-10-14 21:52:50 +05:30
committed by GitHub
parent efba3b14be
commit 1492340079

View File

@ -5,7 +5,7 @@ import styled from '@emotion/styled';
import { Tag } from 'twenty-ui';
const StyledMenuItem = styled(MenuItem)`
width: 200px;
width: calc(100% - 2 * var(--horizontal-padding));
`;
type RecordIndexPageKanbanAddMenuItemProps = {