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:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user