xkcd: center the alt text block, keep its lines left-aligned
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- embedded-iot
Línea de trabajo
Start with the alt block in src/paperpi/plugins/xkcd_comic/layouts.py, which currently uses align "left" across the full width. Decide whether a narrower block with left and right padding is enough, or whether epdlib needs a "centered block, left-aligned lines" option (that would be in txoof/epdlib). Done when the default layout's alt text is centered as a block, left-aligned inside it, and the sample images in tests/images/ (9.7", 7.5", 5.65") are regenerated.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Seen in the web interface demo (2026-10-10, virtual screen 1200x825).
Problem: in the default layout comic_title_alttext, the comic's alt text (its hover text) doesn't sit well under the comic: the text block uses the whole screen width with its lines aligned to the left, so it looks off-center.
Wanted: the alt text as a block centered under the comic, with its lines still left-aligned inside that block (like a centered paragraph).
Where: src/paperpi/plugins/xkcd_comic/layouts.py: the alt block uses align: "left" across the full width. This probably needs either a narrower centered block (for example padding left and right) or an epdlib option for "centered block, left-aligned lines" (then the work is partly in txoof/epdlib).
Done when: the default layout's alt text is centered as a block and left-aligned inside it, on the 9.7", 7.5" and 5.65" sample images (tests/images/), with the sample images made again.
- Lenguaje dominante
- Python
- Estrellas
- 205
- Forks
- 17
- Merge medio
- 6 h 4 min
- PR fusionados (30 d)
- 45
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de txoof/PaperPi
-
area:core bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area:web bug
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
area:core enhancement hardware
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de txoof/PaperPi
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Deltares/imod-python#1940 ·
Los mantenedores suelen responder en 1 día
-
effort: low prio: low ready
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
digitalfabrik/integreat-cms#4621 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
ioos/compliance-checker#1375 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día