fix(ui): refine playlist details layout and disable play date display for mobile

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-05-28 18:39:20 -04:00 committed by Joe Stump
parent 3c1e29e8eb
commit 0dbbe23179
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,6 @@ const useStyles = makeStyles(
stats: {
marginTop: '1em',
marginBottom: '0.5em',
display: 'inline-block',
},
}),
{

View File

@ -149,7 +149,9 @@ const PlaylistSongs = ({ playlistId, readOnly, actions, ...props }) => {
playCount: isDesktop && (
<NumberField source="playCount" sortByOrder={'DESC'} />
),
playDate: <DateField source="playDate" sortByOrder={'DESC'} showTime />,
playDate: isDesktop && (
<DateField source="playDate" sortByOrder={'DESC'} showTime />
),
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
channels: isDesktop && <NumberField source="channels" />,
bpm: isDesktop && <NumberField source="bpm" />,