Skip to content

Commit

Permalink
Hide weird ellipsis in visibility toggle column in account grid
Browse files Browse the repository at this point in the history
  • Loading branch information
ystxn committed Mar 30, 2024
1 parent ab8c3d2 commit 378df23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/settings/accounts-grid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const GridBox = styled.div`
display: flex;
flex: 1 1 1px;
margin-bottom: ${props => props.isMobile ? '.5rem' : '1rem' };
.no-ellipsis { text-overflow: clip }
`;

const ChipInternal = styled(Chip)`
Expand Down Expand Up @@ -77,6 +78,7 @@ const AccountsGrid = ({
renderCell: ({ id, row }) => <Switch checked={row.visible} onChange={(e) => updateVisibility(e, id)} />,
width: 70,
sortable: false,
cellClassName: 'no-ellipsis',
},
{
field: 'type',
Expand Down

0 comments on commit 378df23

Please sign in to comment.