Skip to content

Commit

Permalink
[Fix] : Horizontal scroll issue in dropdown (#7682)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AmanPathan authored Oct 14, 2024
1 parent efba3b1 commit 1492340
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1492340

Please sign in to comment.