diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-07 16:33:15 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-07 18:48:42 +0100 |
| commit | 8efb9219116a6c665d1059d3218c9405c616e404 (patch) | |
| tree | 52189ca1e98d9268843a27520b5c7228a5aa8913 /src/pages/recherche | |
| parent | 09e0e2d1569e5098c960299746f7b8632e9b35f3 (diff) | |
chore: adjust css grid on listing pages without sidebar
Diffstat (limited to 'src/pages/recherche')
| -rw-r--r-- | src/pages/recherche/index.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
