[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:
@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user