electricitymaps / electricitymaps-contrib

A real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.57k stars 945 forks source link

Intro text overflowing #7308

Open PyvesB opened 3 weeks ago

PyvesB commented 3 weeks ago

Describe the bug

The intro text that is shown when first opening the Android app may overflow.

To Reproduce

Steps to reproduce the behavior:

  1. Switch your Android device to French (or any other language that has lengthier texts).
  2. Install the Electricity Maps app.
  3. Browse through the different intro pages.

Expected behavior

The intro text should for example be part of a scrollable area to avoid overflowing.

Screenshots

Description

Smartphone (if relevant):

VIKTORVAV99 commented 3 weeks ago

Thanks for reporting the issue!

That does look pretty bad...

SaumyaSubham commented 3 weeks ago

I can work on this issue, Kindly assign me this issue under hacktoberfest 2024. And Could you please locate the frontend file or folder so that I can get access easily to solve this issue.

VIKTORVAV99 commented 3 weeks ago

I can work on this issue, Kindly assign me this issue under hacktoberfest 2024.

And Could you please locate the frontend file or folder so that I can get access easily to solve this issue.

I've assigned the issue to you and the affected file should be this one web/src/components/modals/OnboardingModal.tsx

SaumyaSubham commented 3 weeks ago

Thank You @VIKTORVAV99 Could you please add the hacktoberfest label, It would be great if you added that. And I'm going to start my work! Thank You once again.

VIKTORVAV99 commented 3 weeks ago

Thank You @VIKTORVAV99 Could you please add the hacktoberfest label, It would be great if you added that. And I'm going to start my work! Thank You once again.

The hacktoberfest label is not needed, the entire repo has been opted in to hacktoberfest already :)