style: Update CSS class to 'grow' for page content

This commit is contained in:
Gauthier Daniels 2025-04-18 21:13:47 +02:00
parent a86a6e9bdc
commit f590e0d6fd
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import React from "react";
export function Page() { export function Page() {
return ( return (
<div className="px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300"> <div className="grow px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300">
<h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white">Mentions légales</h1> <h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white">Mentions légales</h1>
<section> <section>

View File

@ -7,7 +7,7 @@ export function Page() {
const { setIsOpen } = useContext(CookiesContext); const { setIsOpen } = useContext(CookiesContext);
return ( return (
<div className="px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300"> <div className="grow px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300">
<h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white"> <h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white">
Politique de confidentialité Politique de confidentialité
</h1> </h1>