News should be one column on mobile
This commit is contained in:
parent
8b28e794b4
commit
3a381d51b5
|
@ -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} />
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in New Issue