Skip to content

fix(design): keep the pull quote's source on one line - #8

Merged
phoduke merged 1 commit into
mainfrom
fix/pullquote-caption
Nov 12, 2026
Merged

phoduke merged 1 commit into
mainfrom
fix/pullquote-caption

Conversation

@phoduke

@phoduke phoduke commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Why

Readerly is a free theme whose footer credit links to listofbooks.net, so it has to look right on every port. The pull quote caption <cite>The Salt Orchard</cite>, chapter nine broke after the title, leaving a line that starts with a comma (", chapter nine"). This showed on the design page and on the Jekyll, Hugo and Ghost demos.

What

  • .pullquote cite was display: block. The uppercase, muted caption style moves to .pullquote figcaption, and the cite stays inline.
  • Regenerated readerly.css for Jekyll, Hugo and Ghost with node tools/build-tokens.mjs.
  • WordPress uses core wp-block-pullquote markup and is unaffected.

Verification

  • node tools/build-tokens.mjs --check passes.
  • A Chromium render of design/review.html shows the caption on one line: "THE SALT ORCHARD, CHAPTER NINE".
  • CSS only; markup parity checks are unaffected.

The citation was display:block, so a caption like
'<cite>The Salt Orchard</cite>, chapter nine' broke after the title and
started its second line with a comma. The caption styles now sit on the
figcaption and the cite stays inline. Regenerated every port's CSS.
@phoduke
phoduke merged commit 57a51de into main Nov 12, 2026
7 checks passed
@phoduke
phoduke deleted the fix/pullquote-caption branch November 12, 2026 08:35
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