mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-07 00:34:41 +00:00
refactor: fill screen with grid on category pages
This commit is contained in:
parent
4d1d923cd1
commit
5490d39b39
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ export const ReleaseSection = (props) => {
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div className="m-4">
|
<div className="m-4">
|
||||||
<div className="grid justify-center sm:grid-cols-[repeat(auto-fill,400px)] grid-cols-[100%] gap-2">
|
<div className="grid justify-center sm:grid-cols-[repeat(auto-fit,minmax(400px,1fr))] grid-cols-[100%] gap-2 min-w-full">
|
||||||
{props.content.map((release) => {
|
{props.content.map((release) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default function HomeStatus({ params }) {
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="flex flex-col pt-2 pb-16 sm:pt-4 sm:pb-0">
|
<main className="pt-2 pb-16 sm:pt-4 sm:pb-0">
|
||||||
{content && (
|
{content && (
|
||||||
<ReleaseSection
|
<ReleaseSection
|
||||||
sectionTitle={SectionTitleMapping[params.slug]}
|
sectionTitle={SectionTitleMapping[params.slug]}
|
||||||
|
|
Loading…
Add table
Reference in a new issue