Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
border-radius:12px; text-decoration:none; color:inherit; transition:transform .12s ease, box-shadow .12s ease; }
.app-card:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(30,40,90,.12); }
.app-card img { width:64px; height:64px; border-radius:14px; flex:none; }
.app-card h3 { font-size:1rem; margin-bottom:.15rem; }
.app-card-body { min-width:0; flex:1; }
.app-card h3 { font-size:1rem; margin-bottom:.15rem; overflow-wrap:anywhere; }
.app-card p { font-size:.82rem; color:var(--sub); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.store-badge { display:inline-block; margin-top:.4rem; font-size:.78rem; font-weight:600; color:var(--accent); }
footer { text-align:center; color:var(--sub); font-size:.85rem; padding:2rem; }
Expand Down
5 changes: 5 additions & 0 deletions tests/apps-mobile-grid.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ test("app catalog grid fits viewports narrower than the original 300px column",
test("mobile page retains its responsive viewport setting", () => {
assert.match(source, /<meta name="viewport" content="width=device-width, initial-scale=1\.0">/);
});

test("app card text can shrink and wrap instead of widening the grid", () => {
assert.match(source, /\.app-card-body\s*\{\s*min-width:0;\s*flex:1;/);
assert.match(source, /\.app-card h3\s*\{[^}]*overflow-wrap:anywhere;/);
});
Loading