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',
whiteSpace: 'nowrap',
overflow: 'hidden',
paddingRight:
column.dataKey !== 'starred' ? '20px' : undefined,
paddingRight: !column.dataKey.match(/starred|songCount/)
? '10px'
: undefined,
}}
>
{column.dataKey === 'album' ||

Loading…
Cancel
Save