Skip to content

fix: keep EPUB overlay progress visible#693

Merged
everpcpc merged 2 commits intomainfrom
codex/fix-epub-overlay-progress
Mar 24, 2026
Merged

fix: keep EPUB overlay progress visible#693
everpcpc merged 2 commits intomainfrom
codex/fix-epub-overlay-progress

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Problem

The EPUB reader bottom overlay can hide the trailing chapter progress when the current chapter title is long enough to consume the whole row. That makes the remaining progress disappear exactly when the overlay is most useful.

Approach

Update the native overlay layout priorities so the chapter title yields horizontal space before the progress labels do. On iOS, also force the title label to a single truncated line so oversized titles degrade predictably instead of expanding into the full width.

Scope

  • Adjust bottom overlay compression and hugging priorities for EPUB info labels
  • Truncate long iOS chapter titles in the bottom overlay
  • Keep existing overlay content and behavior unchanged outside layout resolution

Validation

  • make build-macos

Keep the trailing chapter progress visible when long chapter titles are shown in the EPUB reader overlay.

Lower the leading title label compression resistance, keep the progress labels at required priority, and truncate long UIKit titles to a single line so the bottom overlay degrades predictably on narrow widths.
@everpcpc everpcpc merged commit 28a64b9 into main Mar 24, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/fix-epub-overlay-progress branch March 24, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant