fix grid layout to be work on smaller devices too
This commit is contained in:
parent
d86068d2c9
commit
ec0f803c7d
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ const VideoList: NextPage = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex w-full grow items-start justify-center overflow-auto bg-[#fbfbfb] pt-14">
|
<div className="flex w-full grow items-start justify-center overflow-auto bg-[#fbfbfb] pt-14">
|
||||||
<div className="flex-start jusitfy-start container flex max-w-[1200px] flex-row flex-wrap items-center gap-14 px-4 pb-16">
|
<div className="flex-start grid w-full max-w-[1300px] grid-cols-[repeat(auto-fill,250px)] flex-row flex-wrap items-center justify-center gap-14 px-4 pb-16">
|
||||||
{videos &&
|
{videos &&
|
||||||
videos.map(({ title, id, createdAt }) => (
|
videos.map(({ title, id, createdAt }) => (
|
||||||
<VideoCard
|
<VideoCard
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue