fix(ratewise): 平板 md–lg 帶閱讀寬度收斂與隱私頁寬版正文(#594 三階 A11/A12) - #663
Merged
Conversation
- ContentPageLayout 新增 width="wide-lg"(max-w-3xl lg:max-w-5xl):僅 ≥lg 放寬容器,供 lg: 兩欄 grid 頁使用 - A11:CurrencyLandingPage 改用 wide-lg,820px iPad 直向等 md–lg 帶收斂為 768px 閱讀寬度 - A12:Privacy 改用 wide-lg,lg 下 220px 側欄旁正文由約 492px 放寬至約 748px,對齊 guide 頁側欄模式 - 手機視口 390×844 前後截圖 AE=0;dist 驗證非目標頁容器 class 零 diff - 新增 ContentPageLayout wide-lg 單元測試;changeset patch 與 002 紀錄同批 測試:ratewise vitest 全綠(184 檔 4842 測試);四視口幣別頁與隱私頁前後截圖存 screenshots/ Refs #594 Co-authored-by: Cursor <cursoragent@cursor.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Contributor
|
✅ SEO 審計通過!所有 2026 標準驗證項目都符合要求。
|
This was referenced Jul 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #594(第三階段殘項;epic 由 PM 統一收,不 close)
收斂 PR #643 兩條 review threads(PM 核實仍有效):
CurrencyLandingPage在 md–lg 帶(768–1023px,如 820px iPad 直向)吃max-w-5xl寬容器但無lg:grid,行長過長。Privacy有 220px 側欄 rail 但未放寬容器,lg 下正文僅約 492px。修法(最小 diff)
ContentPageLayout新增width="wide-lg"(max-w-3xl lg:max-w-5xl):僅 ≥lg 放寬容器,md–lg 帶維持閱讀寬度。幣別頁與隱私頁均改用此模式——一次解掉 A11(md–lg 收斂)與 A12(lg 正文放寬),且與 #643 既有lg:兩欄 grid 結構完全對齊,不動 DOM。驗證數據(computed style)
/usd-twd//usd-twd//privacy//privacy/前後截圖(20 張)存
screenshots/:{before,after}-{currency,privacy}-{820x1180,768x1024,1024x768,1440x900,390x844}.png。SSG 非目標頁零 diff
dist 驗證:
about/faq維持max-w-3xl、guide/opendata維持max-w-5xl(width="wide"語意不變),僅privacy與幣別/金額頁切至max-w-3xl lg:max-w-5xl。Test plan
pnpm --filter @app/ratewise exec vitest run:184 檔 4842 測試全綠(含新增wide-lg單元測試)Made with Cursor