From 8efb9219116a6c665d1059d3218c9405c616e404 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 7 Jan 2022 16:33:15 +0100
Subject: chore: adjust css grid on listing pages without sidebar

---
 src/pages/recherche/index.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/pages/recherche/index.tsx')

diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx
index 5fe35a1..ece76eb 100644
--- a/src/pages/recherche/index.tsx
+++ b/src/pages/recherche/index.tsx
@@ -13,6 +13,7 @@ import Head from 'next/head';
 import { useRouter } from 'next/router';
 import { useEffect, useState } from 'react';
 import useSWRInfinite from 'swr/infinite';
+import styles from '@styles/pages/Listing.module.scss';
 
 const Search: NextPageWithLayout = () => {
   const [query, setQuery] = useState('');
@@ -72,9 +73,9 @@ const Search: NextPageWithLayout = () => {
         <title>{head.title}</title>
         <meta name="description" content={head.description} />
       </Head>
-      <article>
+      <article className={styles.wrapper}>
         <PostHeader title={title} />
-        <div>
+        <div className={styles.body}>
           <PostsList data={data} showYears={false} />
           {hasNextPage && (
             <Button
-- 
cgit v1.2.3

