Fix layout when album comment is visible
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user