Skip to content

fix: keep homepage RSS button right of identity on mobile - #110

Merged
wutongyuonce merged 1 commit into
mainfrom
fix/rss-button-stay-right
Oct 14, 2026
Merged

wutongyuonce merged 1 commit into
mainfrom
fix/rss-button-stay-right

Conversation

@wutongyuonce

Copy link
Copy Markdown
Owner

Summary

  • Stop collapsing .blog-profile__top to a single column under 600px, so「订阅 RSS」stays on the same row as the avatar/name block and remains right-aligned at all widths.
  • Keep existing mobile size tweaks (smaller avatar, h2, and RSS font); add white-space: nowrap on .blog-profile__rss so the label does not wrap awkwardly.
  • Update CHANGELOG「未发布」, and sync docs/站点行为 SPEC.md / docs/项目解析.md which previously documented narrow-screen stacking.

Test plan

  • CSS review: mobile @media (max-width: 600px) no longer sets grid-template-columns: 1fr or centers RSS; inherits 3-col layout (identity col 2, RSS col 3 / justify-self: end).
  • Visually check homepage at ≤600px: RSS remains to the right of identity, not stacked below.
  • Confirm avatar/title still shrink on mobile; RSS label does not wrap.
  • pnpm check when Node ≥22.12 is available (this change is CSS/docs only).

Do not merge from this PR agent run.

Stop collapsing .blog-profile__top to one column under 600px so
「订阅 RSS」stays on the same row, right-aligned; keep smaller
mobile avatar/title/RSS sizes and nowrap on the label. Sync SPEC,
项目解析, and CHANGELOG.
@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
wutong-yu-blog Ready Ready Preview Oct 14, 2026 8:13pm UTC

@wutongyuonce
wutongyuonce merged commit 78d8be1 into main Oct 14, 2026
3 checks passed
@wutongyuonce
wutongyuonce deleted the fix/rss-button-stay-right branch October 14, 2026 20:19

This branch was successfully deployed

1 active deployment
Preview — 221daf9d Deployed Oct 14, 2026 by vercel[bot]
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