mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-10 02:04:38 +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} />}
|
: <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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue