Skip to content

修正 小螢幕相簿分頁跑版 - #191

Merged
TonyPepeBear merged 1 commit into
masterfrom
codex/fix-mobile-gallery-pagination
Jul 14, 2026
Merged

修正 小螢幕相簿分頁跑版#191
TonyPepeBear merged 1 commit into
masterfrom
codex/fix-mobile-gallery-pagination

Conversation

@TonyPepeBear

Copy link
Copy Markdown
Member

變更內容

  • 小於 640px 時改用精簡分頁,避免頁碼換行跑版
  • 隱藏精簡模式產生的空白 options 項目,讓箭頭與頁碼真正置中
  • 分頁列禁止換行

問題原因

完整頁碼在小螢幕寬度不足時會換行;切換精簡模式後,rc-pagination 仍輸出一個空白 options 項目並套用最小寬度,導致可見內容向左偏移。

驗證

  • yarn prettier
  • HOME=/tmp yarn build

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying website2022 with  Cloudflare Pages  Cloudflare Pages

Latest commit: c3d9a1b
Status: ✅  Deploy successful!
Preview URL: https://2c9ac89f.website2022.pages.dev
Branch Preview URL: https://codex-fix-mobile-gallery-pag.website2022.pages.dev

View logs

@TonyPepeBear
TonyPepeBear marked this pull request as ready for review July 14, 2026 07:42
@TonyPepeBear
TonyPepeBear merged commit 1235fc4 into master Jul 14, 2026
5 checks passed
@TonyPepeBear
TonyPepeBear deleted the codex/fix-mobile-gallery-pagination branch July 14, 2026 07:42
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