A page of its own starts its header where a podcast's does (#485)

Currently Listening, Up Next, Playlists and Signals are #content.plain,
which pads itself, and their header took #content>.fhead's padding on
top: 28px in on a phone where a podcast's header is at 14, 42px on a
desktop, with as much again above it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVAJFkEgz9cXG3jG1Zy
This commit is contained in:
2026-11-19 11:08:44 -05:00
parent fb6bb79feb
commit eab2f75862
3 changed files with 14 additions and 0 deletions

View File

@@ -3286,4 +3286,14 @@ test.describe('on a phone', () => {
await expect(row.locator('.udot')).toBeHidden();
await expect(row.locator('.pinmark')).toHaveCount(0);
});
test('a page of its own starts its header where a podcast\'s does (#485)', async ({ page }) => {
const artX = async (id: string) => {
await page.evaluate(id => { selectFeed(id); nav(false); }, id);
await expect(page.locator('#content .fhead .art').first()).toBeVisible();
return (await page.locator('#content .fhead .art').first().boundingBox())!.x;
};
const podcast = await artX('test-show');
for (const id of [':upnext', ':listening']) expect(await artX(id), id).toBe(podcast);
});
});