-
+
-
- }
- actionIcon={
}
- />
+
+ }
+ actionIcon={
}
+ />
-
+
{record.name}
{record.albumArtist}
diff --git a/ui/src/album/styles.js b/ui/src/album/styles.js
index 1b7b7edaf..70dcaf1ca 100644
--- a/ui/src/album/styles.js
+++ b/ui/src/album/styles.js
@@ -12,15 +12,15 @@ export const useStyles = makeStyles((theme) => ({
},
},
playButton: {
- opacity:0,
- transition:'all 150ms ease-out'
+ opacity: 0,
+ transition: 'all 150ms ease-out',
},
albumCover: {
display: 'inline-flex',
- justifyContent:'center',
- alignItems:'center',
+ justifyContent: 'center',
+ alignItems: 'center',
cursor: 'pointer',
-
+
[theme.breakpoints.down('xs')]: {
height: '8em',
width: '8em',
@@ -34,8 +34,8 @@ export const useStyles = makeStyles((theme) => ({
width: '15em',
},
'&:hover $playButton': {
- opacity:1,
- }
+ opacity: 1,
+ },
},
albumDetails: {
display: 'inline-block',
diff --git a/ui/src/common/PlayButton.js b/ui/src/common/PlayButton.js
index 78d42bf5a..67fef8cab 100644
--- a/ui/src/common/PlayButton.js
+++ b/ui/src/common/PlayButton.js
@@ -17,7 +17,7 @@ const PlayButton = ({ record, size = 'small', ...rest }) => {
}
const dataProvider = useDataProvider()
const dispatch = useDispatch()
- const playAlbum = record => {
+ const playAlbum = (record) => {
dataProvider
.getList('albumSong', {
pagination: { page: 1, perPage: -1 },