refactor: move comments to the bottom on mobile

This commit is contained in:
Kentai Radiquum 2025-04-06 18:10:41 +05:00
parent 3f85d0e340
commit de6dcabbc7
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -122,11 +122,13 @@ export const ReleasePage = (props: any) => {
: <ReleasePlayer id={props.id} />} : <ReleasePlayer id={props.id} />}
</> </>
)} )}
<CommentsMain <div className="hidden lg:block">
release_id={props.id} <CommentsMain
token={userStore.token} release_id={props.id}
comments={data.release.comments} token={userStore.token}
/> comments={data.release.comments}
/>
</div>
</div> </div>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
{data.release.status && {data.release.status &&
@ -165,6 +167,13 @@ export const ReleasePage = (props: any) => {
related_releases={data.release.related_releases} related_releases={data.release.related_releases}
/> />
)} )}
<div className="block lg:hidden">
<CommentsMain
release_id={props.id}
token={userStore.token}
comments={data.release.comments}
/>
</div>
</div> </div>
</div> </div>
</div> </div>