diff --git a/CHANGELOG.md b/CHANGELOG.md index 30bbe63..7c8e3fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,12 @@ > `0.1.12`),由 `scripts/version.py` 从 git **算出来**;开发交付的独立说明写入本文件“开发快照”章节,并打 `snapshot/vX.Y.Z` 注释标签 ⇒ 每次开发交付均可追溯, > 但"发布版本"仍然只能由人定(CI 不会自动升版本、不会打 tag)。 +## 开发快照 snapshot/v0.1.56 - 2026-10-25 + +### Fixed + +- 五项字段筛选独立换行,保留时间、关键词、查询与同步操作的完整可见范围,修正宽屏旧单行样式挤出筛选区的问题。 + ## 开发快照 snapshot/v0.1.55 - 2026-10-25 ### Changed diff --git a/web/src/QAOperations.test.tsx b/web/src/QAOperations.test.tsx index 14a8a6e..ea8d1dc 100644 --- a/web/src/QAOperations.test.tsx +++ b/web/src/QAOperations.test.tsx @@ -235,6 +235,12 @@ it('names the ledger explicitly as 问题流水表', () => { expect(html).toContain('>问题流水表') }) +it('keeps five field filters in a dedicated wrapped row after all primary query actions', () => { + const css = readFileSync(new URL('./qaOps.css', import.meta.url), 'utf8') + expect(css).not.toMatch(/\.qa-ops-query\s*\{[^}]*flex-wrap:\s*nowrap/) + expect(css).toMatch(/\.qa-field-filters\s*\{[^}]*order:\s*1/) +}) + it('uses matching query/sync action sizing and keeps synchronization status outside the button baseline', () => { const css = readFileSync(new URL('./qaOps.css', import.meta.url), 'utf8') expect(css).toContain('.qa-ops-query .qa-query-action') diff --git a/web/src/qaOps.css b/web/src/qaOps.css index 3c2bdae..71a4db7 100644 --- a/web/src/qaOps.css +++ b/web/src/qaOps.css @@ -488,7 +488,7 @@ padding: 12px 16px; } .qa-ops-query { - flex-wrap: nowrap; + flex-wrap: wrap; gap: 8px; padding: 8px 10px; } @@ -707,6 +707,7 @@ .qa-field-filters { display: flex; + order: 1; flex: 1 0 100%; flex-wrap: wrap; align-items: flex-end;