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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [未发布]

## [0.10.2] - 2026-10-21

- 平板竖屏或较窄的浏览器窗口(约 740–900px 宽)里,首页的时间筛选、账户卡片和消耗趋势保持同一宽度,趋势卡片不再比上方卡片宽出一截。
- 数据库结构未变,升级无需先备份。

## [0.10.1] - 2026-10-21

- 桌面账户列表把套餐徽标移到名称下一行,Team Premium 这类较长的套餐名不再把账户名挤成省略号。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meterleaf",
"version": "0.10.1",
"version": "0.10.2",
"private": true,
"type": "module",
"license": "Apache-2.0",
Expand Down
7 changes: 7 additions & 0 deletions src/web/mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,13 @@
.app-shell[data-page="overview"] .mobile-period-presets {
margin-bottom: 0;
}
/* 首页卡片最宽 700px 并居中(见 mobile-home.css),上方筛选栏和下方趋势卡片取同一宽度,平板竖屏时整列对齐。 */
.app-shell[data-page="overview"] .mobile-filterbar,
.app-shell[data-page="overview"] .app-period {
width: 100%;
max-width: 700px;
margin-inline: auto;
}
.mobile-period-presets {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
Expand Down
Loading
0