Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Web: page width jumps between Home, Plugin Library and Warnings

Aperta
#282 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
css, html, python
Ambito
frontend, web-dev

Direzione di ricerca

Start with the main_class blocks in src/paperpi/web/templates/base.html and in the Home and Full log templates, then the main.wide, .top-inner.wide and footer.wide rules in src/paperpi/web/static/style.css. Load Home and Plugin Library at computer and phone width and compare the menu bar's left edge. Done when the menu bar and left edge stay fixed across Home, Plugin Library, Warnings and a Settings page, with screenshots in the PR.

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

Descrizione

area:web bug

Seen by txoof in the web interface (2026-10-13).

Problem: the page width changes a lot when switching between Home, Plugin Library and Warnings, so the menu bar and the left edge of the page jump sideways.

Why: pages pick one of two widths. Home (home.html) and the Full log (log.html, PR #281) set {% block main_class %}wide{% endblock %}, which makes the page, the menu bar and the footer 64rem wide (main.wide, .top-inner.wide, footer.wide in src/paperpi/web/static/style.css). The other pages (Plugin Library, Settings, Add, Remove, Log in) are 46rem wide. On a computer screen both are centred, so the left edge moves by about 9rem (around 140 pixels) between pages. The menu bar follows the page width, so it moves too.

Wanted: the menu bar and the left edge stay in the same place on every page. For example:

  • one width for the menu bar on every page (the wide one), and
  • every page starts at the same left edge; a page with narrow content (forms, text) keeps its text lines short with a max-width on the content, not by centring a narrower page.

Also check that the page doesn't shift a little when one page has a scroll bar and the next doesn't (for example with scrollbar-gutter: stable on html).

Where: src/paperpi/web/static/style.css, src/paperpi/web/templates/base.html and the templates that set main_class.

Done when: switching between Home, Plugin Library, Warnings and a Settings page doesn't move the menu bar or the left edge, at computer and phone width; screenshots in the PR.

Lingua principale
Python
Stelle
205
Fork
17
Merge medio
6h 4m
PR unite (30g)
45

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di txoof/PaperPi

Tutte le issue di txoof/PaperPi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.