TheOdinProject / theodinproject

Main Website for The Odin Project
http://www.theodinproject.com
MIT License
3.59k stars 2.06k forks source link

Bug: Progress badge overlapping modals #4480

Closed KevinMulhern closed 3 months ago

KevinMulhern commented 3 months ago

Checks

Bug description

Our progress circle is overlapping modals:

https://github.com/TheOdinProject/theodinproject/assets/7963776/a5344449-f884-4cdb-b15e-5e1896994e94

How to reproduce

  1. Sign in
  2. Upload a solution for one of the projects
  3. Visit the dashboard
  4. Reduce the size of your screen until the course title is displayed under the course badge instead of beside it.
  5. Click edit on the solution you uploaded
  6. 💥 the progress bar is overlapping the modal.

See the video in the bug description.

Expected behavior

  1. Sign in
  2. Upload a solution for one of the projects
  3. Visit the dashboard
  4. Reduce the size of your screen until the course title is displayed under the course badge instead of beside it.
  5. Click edit on the solution you uploaded
  6. The progress bar is hidden behind the modal.

What browsers are you seeing the problem on?

Chrome

What OS are you using?

MacOS

Discord Name

@KM

Additional Comments

This looks to be a simple to fix, z-index issue. The progress circle has a z-index of 30 and the modal has a z-index of 10. Those should be the other way around:

BryanF1nes commented 3 months ago

May I be assigned.