AOSSIE-Org / AOSSIE-Org/DebateAI

[BUG]: Profile Page Layout Is Not Responsive at Reduced Screen Sizes

Chiusa
#489 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
84
Fork
198
Merge medio
2g 19h
PR unite (30g)
30

Descrizione

### Bug Description

At the default 100% browser zoom, the Profile page displays correctly. However, when the viewport becomes smaller, such as at 67% browser zoom, some elements retain their original dimensions instead of adapting to the available space.

The main issues observed in all light, dark and high contrast theme are:
The Matches donut chart remains nearly the same size instead of scaling with its container.
The Ratings graph also maintains a fixed size, causing the graph and its surrounding content to become disproportionate.
As a result, the layout becomes crowded and does not make efficient use of the available screen space.

This indicates that parts of the Profile dashboard are relying on fixed dimensions rather than responding properly to changes in the available viewport/container size.

### Steps to Reproduce

Sign in to DebateAI.
Navigate to the Profile section.
Keep the browser zoom at 100% and observe the layout.
Reduce the browser zoom to 67% or use a smaller viewport size.
Observe the Matches chart and Ratings graph.

Expected Behavior
The Profile page should remain responsive across different viewport sizes.

Charts should resize according to their parent container.
The Matches donut chart should scale proportionally.
The Ratings graph should adapt to the available width and height.
No fixed-size element should cause the surrounding layout to become crowded or disproportionate.

Actual Behavior
At reduced viewport sizes, the Matches donut chart and Ratings graph retain dimensions that are too large for their available space. This causes the dashboard layout to become visually disproportionate and reduces the effectiveness of the responsive design.

### Logs and Screenshots

100% Browser Zoom:

Image

67% Browser Zoom:

Image

### Environment Details

_No response_

### Impact

Medium - Feature works but has issues

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start at the Profile section and inspect the implementation of the Matches donut chart and Ratings graph, focusing on how each responds to the available viewport and parent container. Reproduce the issue at 67% browser zoom or a smaller viewport, then verify that both charts resize proportionally without crowding the surrounding dashboard in light, dark, and high-contrast themes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.