8000 fix(web): keep the phone overview column one width on tablets for 0.10.2 by InfinityPacer · Pull Request #43 · InfinityPacer/meterleaf · GitHub
[go: up one dir, main page]

Skip to content

fix(web): keep the phone overview column one width on tablets for 0.10.2 - #43

Merged
InfinityPacer merged 2 commits into
mainfrom
fix/mobile-overview-width
Oct 20, 2026
Merged

InfinityPacer merged 2 commits into
mainfrom
fix/mobile-overview-width

Conversation

@InfinityPacer
Copy link
Copy Markdown
Owner

问题

用户反馈窗口变窄后账户卡片和消耗趋势宽度不一致。浏览器宽度约 741–900px 时页面使用手机排版,首页卡片最宽 700px 并居中,但上方时间筛选栏和下方消耗趋势卡片没有同样的上限,铺满两侧,820px 时每侧宽出 40px,900px 时宽出 80px。

变化

  • 手机排版下的首页,时间筛选栏和消耗趋势与首页卡片使用相同的 700px 最大宽度并居中。
  • 统计、明细页和桌面排版不受影响。
  • 版本 0.10.2,数据库结构未变。

验证

  • 演示页测量左右边界(筛选栏 / 首页卡片 / 趋势卡片):820px 均为 60–760,900px 均为 100–800,500px 均为 20–480;统计页筛选栏仍为全宽。
  • bun run typecheck、bun test tests(462 pass)、bun run build、所改文件 Prettier 检查通过。

🤖 Generated with Claude Code

InfinityPacer and others added 2 commits October 21, 2026 01:37
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@InfinityPacer
InfinityPacer merged commit 097d7c8 into main Oct 20, 2026
2 checks passed
@InfinityPacer
InfinityPacer deleted the fix/mobile-overview-width branch October 20, 2026 17:38
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

0