style: refine Today environment header
ci / gitleaks (push) Successful in 7s
ci / docker (push) Successful in 6m21s

This commit is contained in:
2026-09-16 14:47:02 +08:00
parent 6c84f46bb8
commit 6f38190c92
4 changed files with 73 additions and 17 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ describe('Today environment integration', () => {
})
it('keeps mobile environment copy to two rows including refresh states', () => {
expect(css).toMatch(/@container\(max-width:559px\)\{\.today-environment\{[^}]*grid-template-rows:repeat\(2,minmax\(0,auto\)\)/)
expect(css).toMatch(/\.today-environment__status\{[^}]*grid-row:1/)
expect(css).toMatch(/@container\(max-width:559px\)\{\.today-environment\{[^}]*grid-template-rows:auto auto/)
expect(css).toMatch(/\.today-environment__status\{[^}]*grid-column:auto;grid-row:auto/)
expect(css).not.toContain('.today-environment__refreshing')
})