feat: 收紧移动端剧本列表与创作页顶栏

This commit is contained in:
GJ
2026-09-04 18:24:43 +08:00
parent db29367c69
commit 50b3461ebc
4 changed files with 130 additions and 46 deletions
+4
View File
@@ -208,6 +208,10 @@ describe('全站平面主题', () => {
/\.project-status-filters \.n-radio-button\s*\{[^}]*min-width:\s*76px;[^}]*padding-inline:\s*18px/
)
expect(css).toMatch(/\.project-status-filters\.n-radio-group\s*\{[^}]*flex-wrap:\s*wrap;[^}]*height:\s*auto;/)
expect(css).toContain('@media (max-width: 800px)')
expect(css).toMatch(/\.project-status-filters\.n-radio-group\s*\{[^}]*width:\s*100%;[^}]*flex-wrap:\s*nowrap/)
expect(css).toMatch(/\.project-status-filters \.n-radio-button\s*\{[^}]*flex:\s*1;[^}]*min-width:\s*0/)
expect(css).toMatch(/\.project-index-heading \.page-description\s*\{[^}]*display:\s*none/)
for (const file of [
'src/App.vue',
'src/components/ui/ThemeToggle.vue',