Skip to content

Commit

Permalink
Correction du layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mariheck committed Jan 29, 2025
1 parent b3d48d0 commit 40896ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.territoiresentransitions.react/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function RootLayout({
<div id="root">
{/* L'utilisation de overflow-hidden ou overflow-auto sur le container
/* empêche l'utilisation de la propriété sticky dans l'app */}
<div className="min-h-screen flex flex-col w-screen">
<div className="h-screen w-screen flex flex-col">
<div id="main" className="grow flex flex-col w-full">
<AppProviders>
<Header />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const IndicateurLayout = ({
};

return (
<div className="bg-grey-2">
<div className="bg-grey-2 grow">
<div className="py-12">
<IndicateurHeader
collectiviteId={collectiviteId!}
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
html,
body {
max-width: 100vw;
min-height: 100vh;
}

/* Evite les problèmes d'alignement lors de l'utilisation de html2canvas */
Expand Down

0 comments on commit 40896ea

Please sign in to comment.