test: update responsive feature test to match fixed CSS

This commit is contained in:
sam committed 2026-07-23 13:55:22 +10:00
1 parent 27157412d8
commit 7581bcc896
1 file changed
+4 -2
+4 -2
View File
@@ -155,10 +155,12 @@ func TestIndexHasResponsiveFeatures(t *testing.T) {
name string
want string
}{
{"mobile-font-padding", "section { min-height: 1.25rem; }"},
{"table-wrap", "section .table-wrap { position: relative; overflow-x: auto;"},
{"section-table", ".section-table { overflow-x: auto; }"},
{"feed-wraps", "white-space: normal"},
{"feed-break-word", "overflow-wrap: break-word"},
{"700px-breakpoint", "@media (max-width: 700px)"},
{"950px-breakpoint", "@media (max-width: 950px)"},
{"viewport-meta", `<meta name="viewport" content="width=device-width, initial-scale=1">`},
}
for _, r := range reqs {
if !strings.Contains(body, r.want) {