diff --git a/tests/ui/app.spec.ts b/tests/ui/app.spec.ts index 78b4faf..933bc16 100644 --- a/tests/ui/app.spec.ts +++ b/tests/ui/app.spec.ts @@ -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); + }); }); diff --git a/web/CHANGELOG.md b/web/CHANGELOG.md index b03c48c..fc8d8dc 100644 --- a/web/CHANGELOG.md +++ b/web/CHANGELOG.md @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- The headers of Currently Listening, Up Next, Playlists and Signals start where a podcast's does, rather than twice as far in and further down (#485). - On a phone, a pinned item's pin in the reader's floating actions is on its accent disc again, rather than nearly invisible on a light theme (#480). - Swiping between items on a phone no longer flashes: the pictures of the items either side are loaded ahead, so the preview under your finger shows its picture with its text, and the swipe ends only once the new item's pictures are ready (#471). - Deleting a downloaded file, marking everything read, deleting a signal and the other actions that ask first now ask in the page's own dialog, so they go ahead in the iOS app, which answered the browser's question Cancel without showing it (#462). diff --git a/web/app.css b/web/app.css index ac94071..f9d2ee4 100644 --- a/web/app.css +++ b/web/app.css @@ -881,6 +881,9 @@ body.scan-this .fhead [data-a=scan] .i,body.scan-any .fhead [data-a=scanall] .i, #content{display:flex;flex-direction:column;min-height:0;min-width:0;flex:1} #content>.fhead,#content>.toolbar{padding-left:20px;padding-right:20px;flex:none} #content>.fhead{padding-top:16px} +/* A page of its own (Up Next, Playlists, Signals) has its own padding already: with this one too its + header started twice as far in as a podcast's (#485). */ +#content.plain>.fhead{padding:0} /* Three panes, as the original had: feeds beside, items above, the item below. */ #split{