AOSSIE-Org / AOSSIE-Org/EduAid

Extension popup opens with inconsistent initial size (Chrome auto-sizing issue)

Abierto
#316 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
171
Forks
425
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Description
The EduAid browser extension popup opens with inconsistent initial dimensions
across sessions and browsers (Chrome / Edge).

This occurs because extension popups are auto-sized by the browser based on the
document's initial layout. Using responsive or `min-width` / `min-height` based
CSS does not guarantee a stable initial size for extension popups.

As a result:
- The popup sometimes opens smaller than intended
- UI elements appear cramped or clipped on first render
- Layout may shift after content loads

This issue is specific to the **browser extension popup** and is independent of
web app responsiveness fixes (e.g. `eduaid_web` changes).

---

### Expected Behavior
The extension popup should always open at a consistent base size
(e.g. 420×600), with internal scrolling for overflow content.

---

### Proposed Solution
Hard-code width and height on `html`, `body`, and `#root` for popup pages only,
which is the recommended approach for Chrome/Edge extension popups.

---

### Environment
- Browser: Chrome / Microsoft Edge
- Surface: EduAid browser extension popup

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.