Fix layout when album comment is visible

This commit is contained in:
Deluan
2021-04-07 22:16:38 -04:00
parent 96a14ec484
commit f41bc31ba8
+2
View File
@@ -200,11 +200,13 @@ const AlbumDetails = ({ record }) => {
<SizeField record={record} source="size" /> <SizeField record={record} source="size" />
</Typography> </Typography>
{config.enableStarRating && ( {config.enableStarRating && (
<div>
<RatingField <RatingField
record={record} record={record}
resource={'album'} resource={'album'}
size={isDesktop ? 'medium' : 'small'} size={isDesktop ? 'medium' : 'small'}
/> />
</div>
)} )}
{isDesktop && record['comment'] && <AlbumComment record={record} />} {isDesktop && record['comment'] && <AlbumComment record={record} />}
</CardContent> </CardContent>