Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(graph): page overflow with graph #20

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,13 @@ const TopCountriesSection = () => {
Evolution de l'élevage du saumon par pays
</h3>

<DashboardChart
data={mapData.data}
layout={mapData.layout}
id="evolution-map"
/>
<div className="flex md:justify-center min-h-[450px] overflow-y-auto">
<DashboardChart
data={mapData.data}
layout={mapData.layout}
id="evolution-map"
/>
</div>
</div>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const BusinessSection = () => {
connaît depuis quelques décennies une hyper-croissance à l’échelle
globale.
</p>
<div className="flex justify-center">
<div className="flex md:justify-center min-h-[450px] overflow-y-auto bg-white">
<Plot data={plot.data} layout={plot.layout} />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/JoinBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const IntroBlock = ({
saumon au monde, porte une responsabilité particulière dans
l'orientation des pratiques.
</p>
<div className="flex justify-center">
<div className="flex lg:justify-center min-h-[300px] overflow-y-auto bg-white">
<Plot data={plot.data} layout={plot.layout} />
</div>
</div>
Expand Down
Loading