acmpesuecc / acmpesuecc/mygpa

fix: modal responsiveness

オープン
#4 コメント 20 件 リアクション 0 件 担当者 0 名 GitHub で見る
bounty 250 bug
主要言語
TypeScript
スター
1
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

## Description

The current `Modal` component in `modal.tsx` has visibility and layout issues across different screen sizes. The congratulatory message becomes invisible on large screens (lg:invisible) and is positioned using hard-coded spacing (mt-[120%]), it also overflows at times and is misaligned.

Additionally, the modal uses fixed fractional sizing (h-2/3 w-2/3), extreme z-index values.

This issue proposes a full UI refactor for the modal to ensure it is visible, readable, and responsive across all devices, while maintaining clean structure.

## Steps to reproduce

- Visit the /findmycgpa` or `/findmysgpa` pages on the [deployed site](https://mygpa.vercel.app) or a local instace.
- Open your browser dev tools
- Open device / responsive mode and play around with different screen resolutions (particularly mobile, and smaller sizes) to see the inconsistencies.

## Expected Behaviour

- The modal should adapt seamlessly across mobile, tablet, and desktop: Mobile (≤640px) through Desktop (≥1025px)
- Modal should never overflow viewport.
- The congratulatory message must be visible across all screen sizes
- All content, including congratulatory message, must fit within the bounds of the modal and must not overflow the container visually, changes can be made to the message in order to shorten it and text sizing and placement can be changed as well.

## Images / Videos

Image

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。