Make spotify-ish more spotify-ish (#914)
* [Theme] Allow customising album and player parts * [Theme] Allow customizing song lists view * Make spotify-ish more spotify-ish * Fix responsive issues in spotify-ish * Spotify-ish login page * Add back the previous "Spotify-ish" theme as "Green" Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -5,13 +5,24 @@ import {
|
||||
useShowContext,
|
||||
useShowController,
|
||||
} from 'react-admin'
|
||||
import { makeStyles } from '@material-ui/core/styles'
|
||||
import AlbumSongs from './AlbumSongs'
|
||||
import AlbumDetails from './AlbumDetails'
|
||||
import AlbumActions from './AlbumActions'
|
||||
|
||||
const useStyles = makeStyles(
|
||||
(theme) => ({
|
||||
albumActions: {},
|
||||
}),
|
||||
{
|
||||
name: 'NDAlbumShow',
|
||||
}
|
||||
)
|
||||
|
||||
const AlbumShowLayout = (props) => {
|
||||
const { loading, ...context } = useShowContext(props)
|
||||
const { record } = context
|
||||
const classes = useStyles()
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -29,7 +40,9 @@ const AlbumShowLayout = (props) => {
|
||||
<AlbumSongs
|
||||
resource={'albumSong'}
|
||||
exporter={false}
|
||||
actions={<AlbumActions record={record} />}
|
||||
actions={
|
||||
<AlbumActions className={classes.albumActions} record={record} />
|
||||
}
|
||||
/>
|
||||
</ReferenceManyField>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user