mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 13:27:42 +03:00
Make cursor=move for the whole playlist item row
This commit is contained in:
parent
331fa1d952
commit
4776dba003
@ -48,7 +48,7 @@ const useStyles = makeStyles(
|
||||
flexWrap: 'wrap',
|
||||
},
|
||||
noResults: { padding: 20 },
|
||||
draggable: {
|
||||
row: {
|
||||
cursor: 'move',
|
||||
},
|
||||
}),
|
||||
@ -138,24 +138,17 @@ const PlaylistSongs = (props) => {
|
||||
) : (
|
||||
<ReactDragListView onDragEnd={handleDragEnd} nodeSelector={'tr'}>
|
||||
<SongDatagrid
|
||||
classes={classes}
|
||||
expand={!isXsmall && <SongDetails />}
|
||||
rowClick={null}
|
||||
{...controllerProps}
|
||||
hasBulkActions={hasBulkActions}
|
||||
contextAlwaysVisible={!isDesktop}
|
||||
>
|
||||
{isDesktop && (
|
||||
<TextField
|
||||
source="id"
|
||||
label={'#'}
|
||||
className={classes.draggable}
|
||||
/>
|
||||
)}
|
||||
<TextField source="title" className={classes.draggable} />
|
||||
{isDesktop && <TextField source="id" label={'#'} />}
|
||||
<TextField source="title" />
|
||||
{isDesktop && <AlbumLinkField source="album" />}
|
||||
{isDesktop && (
|
||||
<TextField source="artist" className={classes.draggable} />
|
||||
)}
|
||||
{isDesktop && <TextField source="artist" />}
|
||||
<DurationField
|
||||
source="duration"
|
||||
className={classes.draggable}
|
||||
|
Loading…
x
Reference in New Issue
Block a user