Browse Source

update padding for specific columns

- no padding on starred, songcount
master
jeffvli 3 years ago
parent
commit
d28bec2c10
  1. 5
      src/components/viewtypes/ListViewTable.tsx

5
src/components/viewtypes/ListViewTable.tsx

@ -385,8 +385,9 @@ const ListViewTable = ({
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
overflow: 'hidden', overflow: 'hidden',
paddingRight: paddingRight: !column.dataKey.match(/starred|songCount/)
column.dataKey !== 'starred' ? '20px' : undefined, ? '10px'
: undefined,
}} }}
> >
{column.dataKey === 'album' || {column.dataKey === 'album' ||

Loading…
Cancel
Save