AOSSIE-Org / AOSSIE-Org/EduAid

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

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

説明

### 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

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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