fix(qa): 修正五字段筛选区域换行布局
build / build (push) Successful in 1m6s

原因:旧版宽屏查询区强制单行,新增的全宽筛选行被推到可视区外。
修复:查询区允许换行,五字段筛选独立排在查询和同步操作之后。
验证:新增回归断言先红后绿;完整 make verify 本地必需项已通过;候选未部署。
This commit is contained in:
姚章浩
2026-10-25 13:03:44 +08:00
parent 00c4c13283
commit 80d5078363
3 changed files with 14 additions and 1 deletions
+6
View File
@@ -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
+6
View File
@@ -235,6 +235,12 @@ it('names the ledger explicitly as 问题流水表', () => {
expect(html).toContain('>问题流水表</button>')
})
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')
+2 -1
View File
@@ -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;