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