xkcd: center the alt text block, keep its lines left-aligned
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #283 @txoof-bot による — マージ済み
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- embedded-iot
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 205
- フォーク
- 17
- 平均マージ
- 5時間 42分
- マージ済み PR(30日)
- 50
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
txoof/PaperPi のほかの issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:core enhancement hardware
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
area:core enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
area:web needs-decision
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
webrecorder/warcio#209 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Jeffy123-zhu/logspecter#20 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信