mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-07 16:54:40 +00:00
refactor: move comments to the bottom on mobile
This commit is contained in:
parent
3f85d0e340
commit
de6dcabbc7
1 changed files with 14 additions and 5 deletions
|
@ -122,11 +122,13 @@ export const ReleasePage = (props: any) => {
|
|||
: <ReleasePlayer id={props.id} />}
|
||||
</>
|
||||
)}
|
||||
<CommentsMain
|
||||
release_id={props.id}
|
||||
token={userStore.token}
|
||||
comments={data.release.comments}
|
||||
/>
|
||||
<div className="hidden lg:block">
|
||||
<CommentsMain
|
||||
release_id={props.id}
|
||||
token={userStore.token}
|
||||
comments={data.release.comments}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col gap-2">
|
||||
{data.release.status &&
|
||||
|
@ -165,6 +167,13 @@ export const ReleasePage = (props: any) => {
|
|||
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue