News should be one column on mobile

This commit is contained in:
DrMint 2022-03-18 13:57:43 +01:00
parent 8b28e794b4
commit 3a381d51b5
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export default function News(props: NewsProps): JSX.Element {
const contentPanel = ( const contentPanel = (
<ContentPanel width={ContentPanelWidthSizes.large}> <ContentPanel width={ContentPanelWidthSizes.large}>
<div className="grid gap-8 items-end grid-cols-2 desktop:grid-cols-[repeat(auto-fill,_minmax(20rem,1fr))]"> <div className="grid gap-8 items-end grid-cols-1 desktop:grid-cols-[repeat(auto-fill,_minmax(20rem,1fr))]">
{posts.map((post) => ( {posts.map((post) => (
<PostsPreview key={post.id} post={post.attributes} /> <PostsPreview key={post.id} post={post.attributes} />
))} ))}