Skip to content

fix: 窄屏手機的主題模式標題、首頁入口與贊助標題保持單行 - #146

Merged
Carinoasd merged 1 commit into
masterfrom
fix/narrow-layout
Sep 29, 2026
Merged

Carinoasd merged 1 commit into
masterfrom
fix/narrow-layout

Conversation

@Carinoasd

Copy link
Copy Markdown
Owner

修改內容

Qing-Novel 在 PR #135 回報 1.29.1 在 360dp 手機(720×1600)上的三個版面問題:

  • 設定「主題模式」:切換鈕固定寬度,放得下才放在列尾,否則移到文字下方;之前標題被擠成一字一行。
  • 首頁問候卡片:「活動總覽」「勳章與稱號」在手機的兩種排版下都排成一行、各佔一半,標籤縮字不換行。
  • 「支援開發與功能許願」彈窗標題、「到 GitHub 提出功能需求」按鈕、首頁贊助卡片標題保持單行,過長時縮字(AppDialogTitle.singleLine)。
  • CHANGELOG(含 feat(home): 底栏切换改为水平滑动 #145 底欄滑動)、spec §43。

測試結果

  • test_172 第 4 組新增 320/360/384dp × 1/1.15/2 倍字級案例;修正前主題模式與彈窗 6 項、首頁 1 項失敗,修正後全過。
  • 完整 flutter test 1776 通過、1 略過;analyze 80(=基線)。

尚未驗證

  • 未在回報的實機上確認;測試字型寬度與實機不同,首頁案例改用 320dp/1.15 倍字級模擬。

🤖 Generated with Claude Code

…le on one line

Feedback on 1.29.1 from a 360dp phone:

- The theme mode switch goes below the text when the title and the current
  mode do not fit beside it; the title was squeezed to one character per line.
- Activities and medals share one row in both phone layouts of the greeting
  card; their labels shrink a little instead of wrapping.
- The support dialog title, its GitHub button and the home support card title
  stay on one line (AppDialogTitle.singleLine).

Refs #135

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Carinoasd
Carinoasd merged commit 776e9de into master Sep 29, 2026
5 checks passed
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